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,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: |
|
|