diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/article.html | 2 | ||||
-rw-r--r-- | templates/base.html | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/templates/article.html b/templates/article.html index fba7058..99db2b5 100644 --- a/templates/article.html +++ b/templates/article.html @@ -27,8 +27,10 @@ <h2 class="entry-title"> <a href="{{ SITEURL }}/{{ article.url }}" rel="bookmark" title="Permalink to {{ article.title|striptags }}">{{ article.title }}</a></h2> + <div class="translations"> {% import 'translations.html' as translations with context %} {{ translations.translations_for(article) }} + </div> </header> <footer class="post-info"> Posted on diff --git a/templates/base.html b/templates/base.html index bc7556f..4556741 100644 --- a/templates/base.html +++ b/templates/base.html @@ -38,14 +38,14 @@ <h2 id="sitesubtitle">{{ SITESUBTITLE }}</h2> </header><!-- /#banner --> <nav id="menu"><ul> - {% for title, link in MENUITEMS %} - <li><a href="{{ link }}">{{ title }}</a></li> - {% endfor %} {% if DISPLAY_CATEGORIES_ON_MENU %} {% for cat, null in categories %} <li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li> {% endfor %} {% endif %} + {% for title, link in MENUITEMS %} + <li><a href="{{ link }}">{{ title }}</a></li> + {% endfor %} {% if DISPLAY_PAGES_ON_MENU %} {% for p in pages %} <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> |