diff --git a/templates/article.html b/templates/article.html index b2568e2..42bac55 100644 --- a/templates/article.html +++ b/templates/article.html @@ -40,7 +40,7 @@ {% endblock %} {% block content %} -
+
{% if SHARE %}
@@ -57,7 +57,7 @@
-
+

{{ article.title }}

diff --git a/templates/categories.html b/templates/categories.html index 7b933b6..ffeed50 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -3,7 +3,7 @@ {% block description %}{% endblock %} {% block content %} -
+

Categories

{% for category, articles in categories %}

{{ category|capitalize }}

diff --git a/templates/index.html b/templates/index.html index 03d5b2b..fac855a 100644 --- a/templates/index.html +++ b/templates/index.html @@ -21,7 +21,7 @@ window.langs = {{ MG_LANG_FILTER_TAGS|tojson }}; {% endblock %} {% block content %} -
+
{% if articles %}
    diff --git a/templates/page.html b/templates/page.html index 3f6a225..b0c0285 100644 --- a/templates/page.html +++ b/templates/page.html @@ -26,7 +26,7 @@ {% endblock %} {% block content %} -
    +

    {{ page.title }}

    {{ page.content }} diff --git a/templates/past_readings.html b/templates/past_readings.html index 6e81262..162a547 100644 --- a/templates/past_readings.html +++ b/templates/past_readings.html @@ -3,12 +3,12 @@ {% block description %}{% endblock %} {% block content %} -
    +

    Lectures passées

    {% for reading in READINGS %} -
    +
    {{ reading['description']+' '+reading.get('date', '') }}
    {{ reading['description']+' '+reading.get('date', '') }}
    diff --git a/templates/search.html b/templates/search.html index 9b7761a..c01181f 100644 --- a/templates/search.html +++ b/templates/search.html @@ -3,7 +3,7 @@ {% block description %}{% endblock %} {% block content %} -
    +

    Search results

    diff --git a/templates/tag.html b/templates/tag.html index 7f4fc78..eccae3a 100644 --- a/templates/tag.html +++ b/templates/tag.html @@ -5,7 +5,7 @@ {% endblock %} {% block content %} -
    +
    {% if articles %} {% for article in (articles_page.object_list if articles_page else articles) %}