diff --git a/notmyidea-cms/templates/article.html b/notmyidea-cms/templates/article.html index 8b5e5bae6..aaadfcd60 100644 --- a/notmyidea-cms/templates/article.html +++ b/notmyidea-cms/templates/article.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block title %}{{ article.title }}{% endblock %} -{% block content %} -
+{% block content %} +

{{ article.title @@ -16,8 +16,9 @@ By {{ article.author }} {% endif %} -

In {{ article.category }}. +

In {{ article.category }}. {% include 'taglist.html' %} + {% include 'translations.html' %} {{ article.content }} diff --git a/notmyidea-cms/templates/index.html b/notmyidea-cms/templates/index.html index d82224992..1425b5efd 100644 --- a/notmyidea-cms/templates/index.html +++ b/notmyidea-cms/templates/index.html @@ -1,13 +1,13 @@ {% extends "base.html" %} {% block content_title %}{% endblock %} -{% block content %} +{% block content %} {% if articles %} -{% for article in articles %} +{% for article in articles %} {% if loop.index == 1 %}

{{ article.date.strftime('%a %d %B %Y') }} @@ -20,6 +20,7 @@

{{ article.category }}. {% if PDF_PROCESSOR %}get the pdf{% endif %}

{% include 'taglist.html' %} + {% include 'translations.html' %}

{{ article.content }}
@@ -28,12 +29,12 @@

Other articles


    {% endif %} - {% else %} -
  1. + {% else %} +
  2. {{ article.title }}

    - +