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