Reformat for clarity

This commit is contained in:
Tim Van Baak 2021-02-12 17:08:34 -08:00
parent e8fca58e71
commit a51a60c171
1 changed files with 11 additions and 2 deletions

View File

@ -64,6 +64,15 @@ window.onload = function () {
{# TODO: tab.priority and tab.private support #} {# TODO: tab.priority and tab.private support #}
{% block page_content %} {% block page_content %}
<div id="tabs">{% for tab in document %}{{ make_content_tab(tab, loop.first) }}{% endfor %}{% if not index %}<div id="index" class="tab tab-right"><a href="/index/">index</a></div>{% endif %}</div> <div id="tabs">
{% 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 -%}
<div id="index" class="tab tab-right"><a href="/index/">index</a></div>
{%- endif -%}
</div>
{% for tab in document -%}
{{ make_tab_page(tab, loop.first) }}
{%- endfor -%}
{% endblock page_content %} {% endblock page_content %}