Browse Source
Fix back buttons when using index.html navigation
master
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
4 additions and
1 deletions
-
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: |
|
|
|