mirror of
https://github.com/grey-cat-1908/website.git
synced 2024-09-22 19:22:02 +03:00
vrode fix
This commit is contained in:
parent
5aecf4b8f6
commit
ba528b140c
1 changed files with 1 additions and 2 deletions
3
build.py
3
build.py
|
@ -39,8 +39,7 @@ def go_through(directory):
|
|||
if len(filename.split(".")) == 1:
|
||||
content = gen_file(f"{os.getcwd()}/{directory}/{filename}/index.md")
|
||||
|
||||
fier = content[content.find('/'):]
|
||||
|
||||
_, _, fier = directory.partition('/')
|
||||
if len(fier) != 0: fier += "/"
|
||||
|
||||
loc = f"{fier}{filename}/index.html"
|
||||
|
|
Loading…
Reference in a new issue