diff --git a/modules/generate_html.py b/modules/generate_html.py index 68ebd21..7f89f0e 100644 --- a/modules/generate_html.py +++ b/modules/generate_html.py @@ -346,7 +346,6 @@ def create_html_file(folder: str, title: str, foldername: str, images: List[Dict subdirectories=subfolders, images=images, info=_info, - allimages=images, webmanifest=_args.generate_webmanifest, version=version, ) diff --git a/templates/index.html.j2 b/templates/index.html.j2 index 8a77d64..5df0090 100644 --- a/templates/index.html.j2 +++ b/templates/index.html.j2 @@ -12,10 +12,6 @@ {%- if theme %} {%- endif %} - - - - {%- if theme %} @@ -30,6 +26,10 @@ + + + +
{% if subdirectories %} + {%- for subdirectory in subdirectories %} + + {%- endfor %}
{%- for subdirectory in subdirectories %} @@ -67,7 +70,7 @@ {%- for image in images %}
- {{ image.name }} + {{ image.name }} {%- set ns.count = ns.count + 1 %}
{{ image.name }} {%- if image.tiff %} @@ -152,7 +155,7 @@ {%- endif %}