From b343ec12dd11e9a80d4c58bc24087f0a974207f7 Mon Sep 17 00:00:00 2001 From: "mb@mb" Date: Fri, 4 May 2018 14:18:34 +0200 Subject: [PATCH] header content footer structure added --- theme/wttf/templates/base.html | 85 ++++++++++++++++++--------------- theme/wttf/templates/index.html | 21 +++----- 2 files changed, 53 insertions(+), 53 deletions(-) diff --git a/theme/wttf/templates/base.html b/theme/wttf/templates/base.html index 68b0862..67b6459 100644 --- a/theme/wttf/templates/base.html +++ b/theme/wttf/templates/base.html @@ -1,49 +1,58 @@ - {% block head %} - {% block title %}{{ SITENAME }}{% endblock title %} - + {% block head %} + {% block title %}{{ SITENAME }}{% endblock title %} + {% if FEED_ALL_ATOM %} - - {% endif %} - {% if FEED_ALL_RSS %} - - {% endif %} - {% if FEED_ATOM %} - - {% endif %} - {% if FEED_RSS %} - - {% endif %} - {% if CATEGORY_FEED_ATOM and category %} - - {% endif %} - {% if CATEGORY_FEED_RSS and category %} - - {% endif %} - {% if TAG_FEED_ATOM and tag %} - - {% endif %} - {% if TAG_FEED_RSS and tag %} - - {% endif %} - {% endblock head %} + + {% endif %} + {% if FEED_ALL_RSS %} + + {% endif %} + {% if FEED_ATOM %} + + {% endif %} + {% if FEED_RSS %} + + {% endif %} + {% if CATEGORY_FEED_ATOM and category %} + + {% endif %} + {% if CATEGORY_FEED_RSS and category %} + + {% endif %} + {% if TAG_FEED_ATOM and tag %} + + {% endif %} + {% if TAG_FEED_RSS and tag %} + + {% endif %} + {% endblock head %} - - {% block content %} - {% endblock %} - + + {% block content %} + {% endblock %} + diff --git a/theme/wttf/templates/index.html b/theme/wttf/templates/index.html index eee9323..12702ef 100644 --- a/theme/wttf/templates/index.html +++ b/theme/wttf/templates/index.html @@ -1,10 +1,11 @@ {% extends "base.html" %} {% block content %} {% if articles %} +
{% for article in articles_page.object_list %} {# First item #} {% if loop.index <= 3 %} -