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. 5
      distribusi/distribusi.py

5
distribusi/distribusi.py

@ -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…
Cancel
Save