Files
lair.moe/templates/header.tmpl
T

18 lines
409 B
Cheetah

<header>
<div class="header-links">
{%- for (l, t) in (
('us', _('about us')),
('host', _('about host'))
) %}
{%- if url_for(l) == request.path %}
<strong>{{ t }}</strong>
{%- else %}
<a href="{{ url_for(l) }}">{{ t }}</a>
{%- endif %}
{%- endfor %}
</div>
{%- if request.path != url_for('index') %}
<a href="{{ url_for('index') }}">Coders Squad</a>
{%- endif %}
</header>