Reformat for clarity
This commit is contained in:
parent
e8fca58e71
commit
a51a60c171
|
@ -64,6 +64,15 @@ window.onload = function () {
|
|||
|
||||
{# TODO: tab.priority and tab.private support #}
|
||||
{% 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>
|
||||
{% for tab in document %}{{ make_tab_page(tab, loop.first) }}{% endfor %}
|
||||
<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>
|
||||
{% for tab in document -%}
|
||||
{{ make_tab_page(tab, loop.first) }}
|
||||
{%- endfor -%}
|
||||
{% endblock page_content %}
|
Loading…
Reference in New Issue