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 %}
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 -%} +
index
+{%- endif -%} +
+{% for tab in document -%} +{{ make_tab_page(tab, loop.first) }} +{%- endfor -%} {% endblock page_content %} \ No newline at end of file