2025-07-31 23:34:17 +03:00
|
|
|
|
<header>
|
|
|
|
|
|
<div class="header-links">
|
2025-08-01 00:45:24 +03:00
|
|
|
|
{%- for (l, t) in (
|
2025-08-02 01:02:02 +03:00
|
|
|
|
('us', 'О нас'),
|
|
|
|
|
|
('host', 'О хосте')
|
2025-08-01 00:45:24 +03:00
|
|
|
|
) %}
|
2025-08-02 01:02:02 +03:00
|
|
|
|
{%- if url_for(l) == request.path %}
|
2025-08-01 00:45:24 +03:00
|
|
|
|
<strong>{{ t }}</strong>
|
|
|
|
|
|
{%- else %}
|
2025-08-02 01:02:02 +03:00
|
|
|
|
<a href="{{ url_for(l) }}">{{ t }}</a>
|
2025-08-01 00:45:24 +03:00
|
|
|
|
{%- endif %}
|
|
|
|
|
|
{%- endfor %}
|
2025-07-31 23:34:17 +03:00
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{%- if request.path != url_for('index') %}
|
|
|
|
|
|
<a href="{{ url_for('index') }}">Coders Squad</a>
|
2025-08-01 00:45:24 +03:00
|
|
|
|
{%- endif %}
|
2025-07-31 23:34:17 +03:00
|
|
|
|
</header>
|