From 4b4dee731fbd24f986c0eb503516ac85301f37fd Mon Sep 17 00:00:00 2001 From: sptaule Date: Tue, 1 Feb 2022 18:56:05 +0100 Subject: Fix typo on 404, Remove useless blocks on templates --- templates/404.html | 30 ++--- templates/page.html | 352 ++++++++++++++++++++++++++-------------------------- 2 files changed, 189 insertions(+), 193 deletions(-) diff --git a/templates/404.html b/templates/404.html index 7885942..c759261 100755 --- a/templates/404.html +++ b/templates/404.html @@ -3,20 +3,20 @@ {% block content %}
-
-{% endblock %} +{% endblock %} \ No newline at end of file diff --git a/templates/page.html b/templates/page.html index 67081b7..b1c98cd 100755 --- a/templates/page.html +++ b/templates/page.html @@ -5,206 +5,202 @@ {% endblock %} {% block content %} -
+
-
-
-
-
-
-

- {{ page.title }} -

- {% if page.description %} -

{{ page.description }}

- {% endif %} - -
-
-
-
-
-
-
- {{ macros::page_publish_metadata(page=page) }} -
-
- {{ macros::page_content_metadata(page=page) }} -
-
- {% if page.taxonomies.categories %} - {{ macros::render_categories(categories=page.taxonomies.categories) }} - {% endif %} -
-
- {% if page.taxonomies.tags %} - {{ macros::render_tags(tags=page.taxonomies.tags) }} - {% endif %} -
-
+
+
+
+
+
+

+ {{ page.title }} +

+ {% if page.description %} +

{{ page.description }}

+ {% endif %} + +
+
+
+
+
+
+
+
+ {{ macros::page_publish_metadata(page=page) }} +
+
+ {{ macros::page_content_metadata(page=page) }} +
+
+ {% if page.taxonomies.categories %} + {{ macros::render_categories(categories=page.taxonomies.categories) }} + {% endif %} +
+
+ {% if page.taxonomies.tags %} + {{ macros::render_tags(tags=page.taxonomies.tags) }} + {% endif %} +
+
+
+
+ {{ page.content | safe }} +
+
-
- {{ page.content | safe }} + {% if page.extra.toc %} +
+
-
+ {% endif %}
- {% if page.extra.toc %} -
- -
- {% endif %} -
-
+
{% endblock %} {% block pagination %} - {% if page.earlier or page.later or page.lighter or page.heavier %} -
-
+{% if page.earlier or page.later or page.lighter or page.heavier %} +
+
-
- -
-
-
-
- {% endif %} -{% endblock %} - -{% block comment %} - {% if page.extra.comments and config.extra.commenting.disqus %} -
-
-
-
-
-
+
+ +
-
-
- {% endif %} +
+
+{% endif %} {% endblock %} {% block custom_js %} {% if page.extra.toc %} -{% endif %} - -{% if page.extra.comments and config.extra.commenting.disqus %} - {% endif %} -{% endblock %} +{% endblock %} \ No newline at end of file -- cgit v1.2.3