Skip to content
Snippets Groups Projects
Unverified Commit 3644664c authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Add (broken) translation menu

parent 9dda4af7
No related branches found
No related tags found
No related merge requests found
Pipeline #195783 passed with warnings
...@@ -42,5 +42,13 @@ ...@@ -42,5 +42,13 @@
<a href="{{ get_url(path=item.path, lang=lang) }}" class="navbar-item is-hoverable">{{ item.title }}</a> <a href="{{ get_url(path=item.path, lang=lang) }}" class="navbar-item is-hoverable">{{ item.title }}</a>
{% endfor %} {% endfor %}
</div> </div>
<div class="navbar-end">
<div class="navbar-item has-dropdown is-hoverable">
<a href="#" class="navbar-item"><span class="icon"><i class="fas fa-language"></i></span></a>
<div class="navbar-dropdown is-boxed">
{% include "menu/languages.html" %}
</div>
</div>
</div> </div>
</nav> </nav>
<div class="container is-fluid">
{% if thing %}
{% for translation in thing.translations %}
<a class="navbar-item" href="{{ translation.permalink }}"><div class="navbar-content">{{ translation.lang }}</div></a>
{% endfor %}
{% endif %}
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment