forked from ag_kommunikation/webseite
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__top_box">
|
||||||
<div class="header__logo_box">
|
<div class="header__logo_box">
|
||||||
<a class="header__homelink" href="{{ '/'|url }}" title="Startseite">
|
<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>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<nav class="header__secondary_nav">
|
<nav class="header__secondary_nav">
|
||||||
<ul class="secondary_nav__navlist">
|
<ul class="secondary_nav__navlist">
|
||||||
<!--
|
{% for alt in get_alts(this) %}
|
||||||
|
{%- if this.alt != alt %}
|
||||||
<li class="secondary_nav__navitem">
|
<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>
|
</li>
|
||||||
-->
|
{% endif -%}
|
||||||
|
{% endfor %}
|
||||||
<li class="secondary_nav__navitem">
|
<li class="secondary_nav__navitem">
|
||||||
<a class="secondary_nav__navlink" href="https://meta.vebit.xyz">Login</a>
|
<a class="secondary_nav__navlink" href="https://meta.vebit.xyz">Login</a>
|
||||||
</li>
|
</li>
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<nav class="header__secondary_nav">
|
<nav class="header__secondary_nav">
|
||||||
<ul class="secondary_nav__navlist">
|
<ul class="secondary_nav__navlist">
|
||||||
{% for alt in get_alts(this) %}
|
{% for alt in get_alts(this) %}
|
||||||
{%- if this.alt != alt %}
|
{%- if this.alt != alt %}
|
||||||
<li class="secondary_nav__navitem">
|
<li class="secondary_nav__navitem">
|
||||||
<a class="secondary_nav__navlink" href="{{ '.'|url(alt=alt) }}">{{ alt|title|upper }}</a>
|
<a class="secondary_nav__navlink" href="{{ '.'|url(alt=alt) }}">{{ alt|title|upper }}</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user