From 9c1f02f9099b0da48c0bec7f23fa8c0566a331f3 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Mon, 30 May 2022 22:33:42 -0700 Subject: Whitespace Cleanup, Fix Recent --- templates/base.html | 111 +++++++++++++++++++++++++++++----------------------- 1 file changed, 62 insertions(+), 49 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 77c4742..f43dcba 100644 --- a/templates/base.html +++ b/templates/base.html @@ -11,16 +11,20 @@ {% block description %} {% if page.description %} + {% if config.extra.seo | default(value=true) %} - - + + {% endif %} + {% else %} + {% if config.extra.seo | default(value=true) %} - - + + {% endif %} + {% endif %} {% endblock description %} @@ -44,11 +48,11 @@ {% block css %}{% endblock css %} + {% if config.extra.favicon %} - - {% else %} - + {% endif %} + {% if config.generate_feed %}{% endif %} @@ -74,8 +78,8 @@ {% endblock current_url %} {% if config.extra.social.twitter %} - - + + {% endif %} {% if page.extra.thumbnail %} @@ -93,55 +97,64 @@ {% endif %} {% elif config.extra.default_og_image %} - - - + + + {% elif config.extra.banner %} - - - + + + {% else %} - + {% endif %} {% endif %} {% block extra_head %}{% endblock extra_head %} -{% block header %}
- - {% if config.extra.sitedesc %}{% if config.description %}
{{ config.description }}
{% endif %}{% endif %} -
-
{% endblock header %} -
{% block content %} +{% block header %} +
+ + {% if config.extra.sitedesc %} + {% if config.description %} +
{{ config.description }}
+ {% endif %} + {% endif %} +
+
+{% endblock header %} +
+{% block content %} {% endblock content %}
-{% block footer %}{% endblock footer %} +{% block footer %} + +{% endblock footer %} -- cgit v1.3.1