20 lines
436 B
Cheetah
20 lines
436 B
Cheetah
<header>
|
|
{%- if request.path != url_for('index') %}
|
|
<a href="{{ url_for('index') }}">Coders Squad</a>
|
|
{%- else %}
|
|
<div></div>
|
|
{%- endif %}
|
|
|
|
<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>
|
|
</header> |