fixup! fixup! fixup! fixup! fixup! restyle

This commit is contained in:
Sweetbread committed 2025-08-01 00:45:24 +03:00
1 parent f353aa9149
commit 22ecd5f4e6
6 files changed
+49 -11

No files matched your search

+11 -3
View File
@@ -1,10 +1,18 @@
<header>
<div class="header-links">
<a href="#">О нас</a>
<a href="#">О сервере</a>
{%- for (l, t) in (
('#', 'О нас'),
(url_for('host'), 'О сервере')
) %}
{%- if l == request.path %}
<strong>{{ t }}</strong>
{%- else %}
<a href="{{ l }}">{{ t }}</a>
{%- endif %}
{%- endfor %}
</div>
{%- if request.path != url_for('index') %}
<a href="{{ url_for('index') }}">Coders Squad</a>
{% endif %}
{%- endif %}
</header>