reimplement multilanguage support again
This commit is contained in:
parent
fa5bbc8b89
commit
117c5af301
@ -3,16 +3,20 @@
|
||||
<div class="header__top_box">
|
||||
<div class="header__logo_box">
|
||||
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
|
||||
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|url }}" style="height: 7rem;">
|
||||
{% if '/images/wtf_logo.svg'|asseturl is defined -%}
|
||||
<img class="header__logo" src="{{ '/images/wtf_logo.svg'|asseturl }}" style="height: 7rem;">
|
||||
{%- endif %}
|
||||
</a>
|
||||
</div>
|
||||
<nav class="header__secondary_nav">
|
||||
<ul class="secondary_nav__navlist">
|
||||
<!--
|
||||
{% for alt in get_alts(this) %}
|
||||
{%- if this.alt != alt %}
|
||||
<li class="secondary_nav__navitem">
|
||||
<a class="secondary_nav__navlink" href="#">EN</a>
|
||||
<a class="secondary_nav__navlink" href="{{ '.'|url(alt=alt) }}">{{ alt|title|upper }}</a>
|
||||
</li>
|
||||
-->
|
||||
{% endif -%}
|
||||
{% endfor %}
|
||||
<li class="secondary_nav__navitem">
|
||||
<a class="secondary_nav__navlink" href="https://meta.vebit.xyz">Login</a>
|
||||
</li>
|
||||
|
@ -10,7 +10,7 @@
|
||||
</div>
|
||||
<nav class="header__secondary_nav">
|
||||
<ul class="secondary_nav__navlist">
|
||||
{% for alt in get_alts(this) %}
|
||||
{% for alt in get_alts(this) %}
|
||||
{%- if this.alt != alt %}
|
||||
<li class="secondary_nav__navitem">
|
||||
<a class="secondary_nav__navlink" href="{{ '.'|url(alt=alt) }}">{{ alt|title|upper }}</a>
|
||||
|
Loading…
Reference in New Issue
Block a user