aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/page.html4
1 files changed, 3 insertions, 1 deletions
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 %}
<div class="sblock">
{%- if page.extra.series %}
@@ -178,6 +178,7 @@
</div>
{%- endif %}
+ {%- if toc %}
<div class="blockdiv sticky">
<a class="b s150" href="#">{{ macros::translate(key="Index", default="Index", i18n=i18n) }}</a>
{%- for h in toc %}
@@ -196,6 +197,7 @@
</div>
{%- endif %}
{%- endif %}
+ {%- endif %}
{%- endblock toc %}
{%- endblock content %}