diff --git a/theme/wttf/templates/article.html b/theme/wttf/templates/article.html index ae46be5..307256e 100644 --- a/theme/wttf/templates/article.html +++ b/theme/wttf/templates/article.html @@ -29,4 +29,5 @@
{{ article.content }}
+ {% endblock %} diff --git a/theme/wttf/templates/index.html b/theme/wttf/templates/index.html index 73202d2..780e4fd 100644 --- a/theme/wttf/templates/index.html +++ b/theme/wttf/templates/index.html @@ -3,7 +3,6 @@ {% if articles %}
{% for article in articles_page.object_list %} - {# First item #} {% if loop.index <= 3 %} + {% if loop.index < 3 %} + {% if loop.last %} +
+ {% endif %} + {% endif %} {% if loop.index == 3 %}
diff --git a/theme/wttf/templates/tag.html b/theme/wttf/templates/tag.html index 65a99b5..c17cf1f 100644 --- a/theme/wttf/templates/tag.html +++ b/theme/wttf/templates/tag.html @@ -1,5 +1,2 @@ {% extends "index.html" %} -{% block content_title %} -

Articles in the {{ tag }} tag

-{% endblock %}