Fix back buttons when using index.html navigation
This commit is contained in:
parent
cb9e19d1a2
commit
fd370294be
@ -180,7 +180,10 @@ def distribusify(args, directory): # noqa
|
||||
html.append(div(args, type_, subtype, a, name))
|
||||
|
||||
if root != directory:
|
||||
html.append('<a href="../">../</a>')
|
||||
if args.menu_with_index:
|
||||
html.append('<a href="../index.html">../</a>')
|
||||
else:
|
||||
html.append('<a href="../">../</a>')
|
||||
|
||||
for name in dirs:
|
||||
if args.menu_with_index:
|
||||
|
Loading…
Reference in New Issue
Block a user