mirror of
https://github.com/FAUSheppy/flask-json-dream-website
synced 2025-12-09 09:18:31 +01:00
add flag support
This commit is contained in:
@@ -78,6 +78,22 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% if conf["LANGUAGE"] == "en" %}
|
||||
<li>
|
||||
<a class="nav-link flag" href="/"
|
||||
style="background-image: url('https://potaris.de/picture/lang/german-flag.png');">
|
||||
DE
|
||||
</a>
|
||||
</li>
|
||||
{% elif conf["LANGUAGE"] == "de" %}
|
||||
<li>
|
||||
<a class="nav-link flag" href="/en/"
|
||||
style="background-image: url('https://potaris.de/picture/lang/uk-flag.png');">
|
||||
EN
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user