From 15e029ff031988183f8a01343fc32cc9456c1013 Mon Sep 17 00:00:00 2001 From: Hysterelius Date: Mon, 1 Apr 2024 15:03:49 +1100 Subject: Fix bugs in series feature (#165) * Remove unnecessary tag * Consistent current page styling * Fix toc and series bug--- templates/page.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'templates') diff --git a/templates/page.html b/templates/page.html index 8b63ac7..e2a807c 100644 --- a/templates/page.html +++ b/templates/page.html @@ -99,7 +99,7 @@ {%- if page.extra.toc %} {%- set toc = page.toc %} {%- endif %} - {%- if toc %} + {%- if toc or page.extra.series %}
{%- if page.extra.series %} @@ -178,6 +178,7 @@
{%- endif %} + {%- if toc %}
{{ macros::translate(key="Index", default="Index", i18n=i18n) }} {%- for h in toc %} @@ -196,6 +197,7 @@
{%- endif %} {%- endif %} + {%- endif %} {%- endblock toc %} {%- endblock content %} -- cgit v1.3.1