From b7ba801d11f8fba70374bf2bede6612f7013ac0c Mon Sep 17 00:00:00 2001 From: Alexandre Vicenzi Date: Sat, 9 Jul 2022 00:19:52 +0200 Subject: [PATCH] Cleanup unused class --- templates/archives.html | 2 +- templates/article.html | 2 +- templates/authors.html | 2 +- templates/categories.html | 2 +- templates/page.html | 2 +- templates/period_archives.html | 2 +- templates/tags.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/archives.html b/templates/archives.html index b0c1d18..39ca1cb 100644 --- a/templates/archives.html +++ b/templates/archives.html @@ -3,7 +3,7 @@ {% block title %} – {{ _('Archives') }}{% endblock %} {% block content %} -
+

{{ _('Archives') }}

diff --git a/templates/article.html b/templates/article.html index e7ccd8e..22ba69e 100644 --- a/templates/article.html +++ b/templates/article.html @@ -18,7 +18,7 @@ {% block title %} – {{ article.title|striptags|escape }}{% endblock %} {% block content %} -
+
{% if not ARTICLE_HIDE_TRANSLATION %} {% import 'partial/translations.html' as translations with context %} diff --git a/templates/authors.html b/templates/authors.html index ee8449b..9004bdc 100644 --- a/templates/authors.html +++ b/templates/authors.html @@ -3,7 +3,7 @@ {% block title %} – {{ _('Authors') }}{% endblock %} {% block content %} -
+

{{ _('Authors') }}

diff --git a/templates/categories.html b/templates/categories.html index eeaa841..796b3c9 100644 --- a/templates/categories.html +++ b/templates/categories.html @@ -3,7 +3,7 @@ {% block title %} – {{ _('Categories') }}{% endblock %} {% block content %} -
+

{{ _('Categories') }}

diff --git a/templates/page.html b/templates/page.html index cf276f7..dfa0ac8 100644 --- a/templates/page.html +++ b/templates/page.html @@ -14,7 +14,7 @@ {% block title %} – {{ page.title|striptags|escape }}{% endblock %} {% block content %} -
+
{% import 'partial/translations.html' as translations with context %} {{ translations.translations_for(page) }} diff --git a/templates/period_archives.html b/templates/period_archives.html index 24f494e..fa3787d 100644 --- a/templates/period_archives.html +++ b/templates/period_archives.html @@ -2,7 +2,7 @@ {% block title %} – {{ _('Archives') }}{% endblock %} {% block content %} -
+

{{ _('Archives') }}

diff --git a/templates/tags.html b/templates/tags.html index 16a6e83..9b4bee1 100644 --- a/templates/tags.html +++ b/templates/tags.html @@ -3,7 +3,7 @@ {% block title %} – {{ _('Tags') }}{% endblock %} {% block content %} -
+

{{ _('Tags') }}