From db2d2bca19800c27afc89c45eb335aba68e2ccdc Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 18 Dec 2022 12:11:36 +0100 Subject: [PATCH] Auto-format edition-3 templates --- blog/templates/404.html | 8 +- blog/templates/edition-3/base.html | 3 +- blog/templates/edition-3/extra.html | 14 +- blog/templates/edition-3/foundation.html | 10 +- blog/templates/edition-3/index.html | 115 +++++++----- blog/templates/edition-3/page.html | 213 +++++++++++----------- blog/templates/news-section.html | 18 +- blog/templates/plain.html | 4 +- blog/templates/redirect-to-frontpage.html | 14 +- blog/templates/status-update-page.html | 53 +++--- blog/templates/status-update-section.html | 12 +- 11 files changed, 255 insertions(+), 209 deletions(-) diff --git a/blog/templates/404.html b/blog/templates/404.html index a24d380f..5f928c6c 100644 --- a/blog/templates/404.html +++ b/blog/templates/404.html @@ -3,10 +3,10 @@ {% block title %}Page not found | {{ config.title }}{% endblock title %} {% block main %} -

Page not found

-

Sorry, this address is not valid.

+

Page not found

+

Sorry, this address is not valid.

-

Go to the index page.

+

Go to the index page.

-

If you followed a link on this site, please report it!

+

If you followed a link on this site, please report it!

{% endblock main %} diff --git a/blog/templates/edition-3/base.html b/blog/templates/edition-3/base.html index 1193437a..27b960ca 100644 --- a/blog/templates/edition-3/base.html +++ b/blog/templates/edition-3/base.html @@ -6,7 +6,8 @@

{{ config.title | safe }}

-

{{ config.extra.subtitle | replace(from=" ", to=" ") | safe }} — Third Edition (Alpha Release)

+

{{ config.extra.subtitle | replace(from=" ", to=" ") | safe }} + — Third Edition (Alpha Release)

{% block header %}{% endblock header %} diff --git a/blog/templates/edition-3/extra.html b/blog/templates/edition-3/extra.html index 05ec7e8f..6157cc94 100644 --- a/blog/templates/edition-3/extra.html +++ b/blog/templates/edition-3/extra.html @@ -9,14 +9,14 @@ {%- endblock description %} {% block main %} -

{{ page.title }}

- {{ page.content | safe }} +

{{ page.title }}

+{{ page.content | safe }} {% endblock main %} {% block after_main %} -
-
-

Comments

- {{ snippets::giscus(search_term=page.title ~ " (Extra Post)", lang=page.lang) }} -
+
+
+

Comments

+ {{ snippets::giscus(search_term=page.title ~ " (Extra Post)", lang=page.lang) }} +
{% endblock after_main %} diff --git a/blog/templates/edition-3/foundation.html b/blog/templates/edition-3/foundation.html index 59a323b7..6be79531 100644 --- a/blog/templates/edition-3/foundation.html +++ b/blog/templates/edition-3/foundation.html @@ -11,11 +11,12 @@ {% if current_url %} - + {% endif %} - +