Put personal pages into subdomains
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user