From a51a60c1711d6ff8393468c049b1d77b788f1b76 Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Fri, 12 Feb 2021 17:08:34 -0800 Subject: [PATCH] Reformat for clarity --- redstring/templates/doc.jinja | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/redstring/templates/doc.jinja b/redstring/templates/doc.jinja index c93e19c..27b11ea 100644 --- a/redstring/templates/doc.jinja +++ b/redstring/templates/doc.jinja @@ -64,6 +64,15 @@ window.onload = function () { {# TODO: tab.priority and tab.private support #} {% block page_content %} -
{% for tab in document %}{{ make_content_tab(tab, loop.first) }}{% endfor %}{% if not index %}{% endif %}
-{% for tab in document %}{{ make_tab_page(tab, loop.first) }}{% endfor %} +
+{%- for tab in document -%} +{{ make_content_tab(tab, loop.first) }} +{%- endfor -%} +{%- if not index -%} + +{%- endif -%} +
+{% for tab in document -%} +{{ make_tab_page(tab, loop.first) }} +{%- endfor -%} {% endblock page_content %} \ No newline at end of file