Init commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<header>
|
||||
<div class="header-links">
|
||||
{%- for (l, t) in (
|
||||
('us', 'О нас'),
|
||||
('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>
|
||||
Reference in New Issue
Block a user