fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! restyle
This commit is contained in:
1 parent
a29b108fb5
commit
00b42e94eb
11 files changed
+87
-20
No files matched your search
@@ -1,13 +1,13 @@
|
||||
<header>
|
||||
<div class="header-links">
|
||||
{%- for (l, t) in (
|
||||
('#', 'О нас'),
|
||||
(url_for('host'), 'О сервере')
|
||||
('us', 'О нас'),
|
||||
('host', 'О хосте')
|
||||
) %}
|
||||
{%- if l == request.path %}
|
||||
{%- if url_for(l) == request.path %}
|
||||
<strong>{{ t }}</strong>
|
||||
{%- else %}
|
||||
<a href="{{ l }}">{{ t }}</a>
|
||||
<a href="{{ url_for(l) }}">{{ t }}</a>
|
||||
{%- endif %}
|
||||
{%- endfor %}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user