diff options
-rw-r--r-- | static/css/style.css | 6 | ||||
-rw-r--r-- | templates/article.html | 2 | ||||
-rw-r--r-- | templates/base.html | 6 |
3 files changed, 9 insertions, 5 deletions
diff --git a/static/css/style.css b/static/css/style.css index e265378..698a182 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -27,7 +27,8 @@ h3 a:hover { } footer.post-info, -footer.copyright { +footer.copyright, +#content .translations { font-size: 0.8em; color: #595959; } @@ -71,7 +72,8 @@ pre { } footer.post-info, - footer.copyright { + footer.copyright, + #content .translations { color: #b0b0b0; } 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> |