# HG changeset patch # User Dirk Olmes # Date 1412042039 -7200 # Node ID 51d2ddc51e403f859d7efcf4f1538a0d07a0d0e2 # Parent 47fa61e1845e624d7522cc34b1d69b86bfc2e007 update the theme with the latest changes from upstream diff -r 47fa61e1845e -r 51d2ddc51e40 pelicanconf.py --- a/pelicanconf.py Tue Sep 30 03:37:41 2014 +0200 +++ b/pelicanconf.py Tue Sep 30 03:53:59 2014 +0200 @@ -5,6 +5,7 @@ AUTHOR = u'Dirk Olmes' SITENAME = u'Infoschnipsel und Wissenswertes' SITEURL = 'http://xanthippe.duckdns.org/blog' +ARCHIVES_URL = 'archives.html' LOCALE = 'de_DE' TIMEZONE = 'Europe/Berlin' diff -r 47fa61e1845e -r 51d2ddc51e40 themes/tuxlite_tbs/templates/article.html --- a/themes/tuxlite_tbs/templates/article.html Tue Sep 30 03:37:41 2014 +0200 +++ b/themes/tuxlite_tbs/templates/article.html Tue Sep 30 03:53:59 2014 +0200 @@ -12,7 +12,9 @@

Comments

{% include "twitter.html" %} - {% include 'disqus.html' %} - {% include 'simple_comments.html' %} + {% if DISQUS_SITENAME %} + {% include "disqus.html" %} + {% endif %} + {% include "simple_comments.html" %} {% endblock %} diff -r 47fa61e1845e -r 51d2ddc51e40 themes/tuxlite_tbs/templates/base.html --- a/themes/tuxlite_tbs/templates/base.html Tue Sep 30 03:37:41 2014 +0200 +++ b/themes/tuxlite_tbs/templates/base.html Tue Sep 30 03:53:59 2014 +0200 @@ -1,5 +1,5 @@ - + {% block windowtitle %}{{ SITENAME }}{% endblock %} @@ -18,6 +18,20 @@ + + {% if FEED_ALL_ATOM %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + @@ -68,10 +82,21 @@ Site -
  • Archives +
  • Archives
  • Tags + + + + {% if FEED_ALL_ATOM %}
  • Atom feed
  • + {% endif %} + {% if FEED_ATOM %} +
  • Atom feed
  • + {% endif %} {% if FEED_RSS %} +
  • RSS feed
  • + {% endif %} + {% if FEED_ALL_RSS %}
  • RSS feed
  • {% endif %} diff -r 47fa61e1845e -r 51d2ddc51e40 themes/tuxlite_tbs/templates/metadata.html --- a/themes/tuxlite_tbs/templates/metadata.html Tue Sep 30 03:37:41 2014 +0200 +++ b/themes/tuxlite_tbs/templates/metadata.html Tue Sep 30 03:53:59 2014 +0200 @@ -2,6 +2,12 @@ {% if article.author %} by {{ article.author }} + {% if article.translations %} + {{ article.lang or DEFAULT_LANG }} + {% for translation in article.translations %} + {{ translation.lang }}  + {% endfor %} + {% endif %} {% endif %} {# Filed under {{ article.category }} #} diff -r 47fa61e1845e -r 51d2ddc51e40 themes/tuxlite_tbs/templates/page.html --- a/themes/tuxlite_tbs/templates/page.html Tue Sep 30 03:37:41 2014 +0200 +++ b/themes/tuxlite_tbs/templates/page.html Tue Sep 30 03:53:59 2014 +0200 @@ -2,7 +2,15 @@ {% block title %} {% endblock %} {% block content %}
    -

    {{ page.title }}

    +

    + {{ page.title }} + {% if page.translations %} + {{ page.lang or DEFAULT_LANG }} + {% for translation in page.translations %} + {{ translation.lang }}  + {% endfor %} + {% endif %} +

    {% if PDF_PROCESSOR %}get the pdf{% endif %} {{ page.content }}