Skip to content
Snippets Groups Projects
Verified Commit df8c12c6 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add list of translations to pages. Closes #7

parent ac1c940f
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,8 @@
<h1>News</h1>
{% for article in articles %}
<h2><a href="{{ article.url }}">{{ article.title }}</a></h2>
{% import 'translations.html' as translations with context %}
{{ translations.translations_for(article) }}
<p>{{ article.date }} · <a href="{{ article.author.url }}">{{ article.author }}</a></p>
{{ article.summary }}
{% endfor %}
......
......@@ -21,6 +21,8 @@
{% 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>
......
......@@ -28,6 +28,15 @@
{% block content %}
<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>
<section class='page_content'>
<div class='container'>
<div class='row clearfix'>
......
......@@ -28,6 +28,15 @@
{% block content %}
<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>
<section class='page_content'>
<div class='container'>
<div class='row clearfix'>
......
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