Skip to content
Snippets Groups Projects
Verified Commit f668f92e authored by magicfelix's avatar magicfelix
Browse files

Move language chooser to footer, closes #8

parent d7a4b319
No related branches found
No related tags found
1 merge request!4Move language chooser to footer, closes #8
......@@ -86,3 +86,7 @@
</section>
{% endblock content %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
{% endblock %}
......@@ -133,6 +133,7 @@
{% endfor %}
</ul>
</div>
{% block languagefooter %}{% endblock %}
<div class="col s6">
<p style="text-align: right">
{% for text, link in MINIFOOTER_MENU %}
......
......@@ -40,8 +40,6 @@
<div class="row clearfix">
<div class="column full">
<h1>{{ page.title }}</h1>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div>
</div>
</div>
......@@ -102,3 +100,7 @@
{% endblock content %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
......@@ -21,8 +21,6 @@
{% block content_title %}
<h1>Recent News</h1>
<div class='feed-text'><a href="https://teckids.edugit.io/feeds/all.atom.xml">Feed <i class='fa fa-rss'></i></a></div>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
</div>
</div>
......
......@@ -5,8 +5,6 @@
<div class="container title">
<div class="row clearfix">
<div class="column full">
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div>
</div>
</div>
......@@ -76,3 +74,7 @@
</div>
{% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
......@@ -32,8 +32,6 @@
<div class="container title">
<div class="row clearfix">
<div class="column full">
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
</div>
</div>
</div>
......@@ -92,3 +90,7 @@
</div>
{% endif %}
{% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
......@@ -26,3 +26,7 @@
</div>
{% endblock %}
{% block languagefooter %}
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(page) }}
{% endblock %}
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