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/404.html | 34 ++++++------
templates/base.html | 111 ++++++++++++++++++++++-----------------
templates/categories/list.html | 14 +++--
templates/categories/single.html | 13 +++--
templates/contact.html | 35 +++++++-----
templates/index.html | 31 ++++++-----
templates/macros/macros.html | 9 ++--
templates/macros/page.html | 8 +--
templates/macros/social.html | 7 ++-
templates/page.html | 68 ++++++++++++------------
templates/pages.html | 6 ++-
templates/posts.html | 17 ++++--
templates/shortcodes/img.html | 51 +++++++++---------
templates/tags/list.html | 19 ++++---
templates/tags/single.html | 13 +++--
15 files changed, 253 insertions(+), 183 deletions(-)
(limited to 'templates')
diff --git a/templates/404.html b/templates/404.html
index 23c7168..3b02be6 100644
--- a/templates/404.html
+++ b/templates/404.html
@@ -1,21 +1,23 @@
{% extends "base.html" %}
-
{# Title #}
-{% block title %}
Sorry! Page not found.{% endblock title %}
-
-{% if config.extra.seo | default(value=true) %}
- {% block current_url %}
-
-
- {% endblock current_url %}
-{% endif %}
-{# Page heading #}
+{% block title %}
+ Sorry! Page not found.
+{% endblock title %}
-{% block content %}
+{% block current_url %}
+ {% if config.extra.seo | default(value=true) %}
+
+
+ {% endif %}
+{% endblock current_url %}
-
404 Error
-
Sorry
-
The requested page does not exist or has been moved to another address.
-
Please go back to home.
+{# Page heading #}
-
{% endblock content %}
+{% block content %}
+
+
404 Error
+
Sorry
+
The requested page does not exist or has been moved to another address.
+
Please go back to home.
+
+{% endblock content %}
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 %}