Browse Source

Fix back buttons when using index.html navigation

master
Luke Murphy 5 years ago
parent
commit
fd370294be
No known key found for this signature in database GPG Key ID: 5E2EF5A63E3718CC
  1. 3
      distribusi/distribusi.py

3
distribusi/distribusi.py

@ -180,6 +180,9 @@ def distribusify(args, directory): # noqa
html.append(div(args, type_, subtype, a, name))
if root != directory:
if args.menu_with_index:
html.append('<a href="../index.html">../</a>')
else:
html.append('<a href="../">../</a>')
for name in dirs:

Loading…
Cancel
Save