This commit is contained in:
Bottersnike 2022-04-11 19:49:43 +01:00
parent 9133ff9126
commit 0d264daf1f
1 changed files with 2 additions and 2 deletions

View File

@ -193,7 +193,7 @@ def generate_footer(base, name, route):
us_idx = siblings.index(parts[-1])
except ValueError:
us_idx = -1
parent = "/" + ("/".join(parts[:-1]))
parent = ROOT + "/" + "/".join(parts[:-1])
if not parent.endswith("/"):
parent += "/"
@ -204,7 +204,7 @@ def generate_footer(base, name, route):
if parts:
crumbs = []
built = "/"
built = ROOT + "/"
for i in parts[:-1]:
built += f"{i}"
if not built.endswith((".html", "/")):