diff --git a/content/meet_the_dev_1.md b/content/meet_the_dev_1.md index 5a459a7..57df1c4 100644 --- a/content/meet_the_dev_1.md +++ b/content/meet_the_dev_1.md @@ -1,4 +1,4 @@ -Title: MDD: Daniel Gultsch +Title: Meet the developer: Daniel Gultsch Category: meet the developer slug: conversations-gultsch tags: instant messaging, conversations, xmpp diff --git a/pelicanconf.py b/pelicanconf.py index b924bb6..2dc1183 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -13,16 +13,11 @@ THEME_STATIC_DIR = 'theme/' TIMEZONE = 'Europe/Paris' DEFAULT_LANG = 'en' - DEFAULT_DATE = "fs" - DISPLAY_PAGES_ON_MENU = False - DISPLAY_CATEGORIES_ON_MENU = False - SLUGIFY_SOURCE = 'title' - # feed FEED_DOMAIN = SITEURL FEED_ALL_RSS = 'feeds/all.rss.xml' @@ -35,8 +30,7 @@ TRANSLATION_FEED_RSS = None AUTHOR_FEED_ATOM = None AUTHOR_FEED_RSS = None - -DEFAULT_PAGINATION = 5 +DEFAULT_PAGINATION = 500 # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True diff --git a/theme/wttf/templates/index.html b/theme/wttf/templates/index.html index 780e4fd..4167386 100644 --- a/theme/wttf/templates/index.html +++ b/theme/wttf/templates/index.html @@ -23,7 +23,7 @@ {% endfor %} published on - {{ article.date }} + {{ article.date | strftime('%d %B %Y') }}
{{ article.summary }}
+ read more ++ Last updated: {{ page.locale_modified }} +
+ {% endif %} +{% endblock %} diff --git a/theme/wttf2/templates/pagination.html b/theme/wttf2/templates/pagination.html new file mode 100644 index 0000000..4219a5c --- /dev/null +++ b/theme/wttf2/templates/pagination.html @@ -0,0 +1,11 @@ +{% if DEFAULT_PAGINATION %} ++ {% if articles_page.has_previous() %} + « + {% endif %} + Page {{ articles_page.number }} / {{ articles_paginator.num_pages }} + {% if articles_page.has_next() %} + » + {% endif %} +
+{% endif %} diff --git a/theme/wttf2/templates/period_archives.html b/theme/wttf2/templates/period_archives.html new file mode 100644 index 0000000..d930dbb --- /dev/null +++ b/theme/wttf2/templates/period_archives.html @@ -0,0 +1,11 @@ +{% extends "base.html" %} +{% block content %} +