Put personal pages into subdomains

This commit is contained in:
2026-01-17 18:55:25 +03:00
parent aedd47ba36
commit 4b2720f8b7
36 changed files with 106 additions and 35 deletions
+20
View File
@@ -0,0 +1,20 @@
<header>
{%- if request.path != url_for('.index') %}
<a href="{{ url_for('.index') }}">Lair</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>