From 99423f57f79499f13d021970c1efb4529072006b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 29 May 2024 16:01:03 +0200 Subject: improve whitespace generation in output files --- templates/page.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'templates/page.html') diff --git a/templates/page.html b/templates/page.html index cb33ab5..a51d965 100644 --- a/templates/page.html +++ b/templates/page.html @@ -4,7 +4,7 @@ {% block title %}{{ page.title }} | {{ super() }}{% endblock %} {% block main %} - {%- if not page.extra.menu %} + {%- if not page.extra.menu -%}

{{ page.title }}

{%- if page.date %}

@@ -17,9 +17,9 @@ {%- endif %} {%- endif %} {%- if config.extra.table_of_contents.show and not page.extra.hide_table_of_contents and page.toc %} -

+
{{ trans(key="table_of_contents", lang=lang) }} - {{ macros::table_of_contents(toc=page.toc, max_level=config.extra.table_of_contents.max_level) }} + {{- macros::table_of_contents(toc=page.toc, max_level=config.extra.table_of_contents.max_level) | indent() | safe() }}
{%- endif %}
-- cgit 1.4.1