0494a36681
This reverts commit 411f3da45e
.
18 lines
No EOL
530 B
HTML
18 lines
No EOL
530 B
HTML
{% macro make_tab(name, fa, url, text) %}
|
|
<li class="tab{% if tab == name %} active{% endif %}">
|
|
{%- if url %}<a href="{{ url }}">{% else %}<span>{% endif -%}
|
|
<i class="tab-icon fa {{ fa }}"></i> {{ text }}
|
|
{%- if url %}</a>{% else %}</span>{% endif -%}
|
|
</li>
|
|
{% endmacro %}
|
|
|
|
<div class="page-title">
|
|
<div class="tabs">
|
|
<h2>{{ content_title or title }}</h2>
|
|
<span class="spacer"></span>
|
|
{% block post_tab_spacer %}{% endblock %}
|
|
<ul>
|
|
{% block tabs %}{% endblock %}
|
|
</ul>
|
|
</div>
|
|
</div> |