flags
This commit is contained in:
parent
d5c1fe2d60
commit
1aacacda48
5 changed files with 153 additions and 3 deletions
|
|
@ -33,9 +33,11 @@
|
|||
{% endfor %}
|
||||
|
||||
{% if lang == "en"%}
|
||||
<a class="nav-item subtitle-text" href="/sv{{ path }}">sv</a>
|
||||
<a class="nav-item subtitle-text" href="/sv{{ path }}"><img style="height: 1.3em; float: right;"
|
||||
src="/flag-for-sweden-svgrepo-com.svg"></a>
|
||||
{% else %}
|
||||
<a class="nav-item subtitle-text" href="{{ path }}">en</a>
|
||||
<a class="nav-item subtitle-text" href="{{ path }}"><img style="height: 1.3em; float: right;"
|
||||
src="/flag-for-united-kingdom-svgrepo-com.svg"></a>
|
||||
{% endif %}
|
||||
|
||||
</nav>
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@
|
|||
{% block header %}
|
||||
|
||||
<header class="pos-absolute" style="background-color: transparent">
|
||||
{{ macros::render_header(path = section.path ) }}
|
||||
{{ macros::render_header(path="/") }}
|
||||
</header>
|
||||
|
||||
<div class="hero">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue