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/macros/macros.html | 9 ++++++--- templates/macros/page.html | 8 +++++--- templates/macros/social.html | 7 +++++-- 3 files changed, 16 insertions(+), 8 deletions(-) (limited to 'templates/macros') diff --git a/templates/macros/macros.html b/templates/macros/macros.html index a470bb0..c3147aa 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -1,6 +1,9 @@ -{% macro title(page) %}

{{ page.title }}

- {{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} [{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}] {% endif %} - {% if page.taxonomies.tags %} {% for tag in page.taxonomies.tags %} #{{ tag }} {% endfor %}{% endif %} +{% macro title(page) %} +

{{ page.title }}

+{{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} [{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}] {% endif %} +{% if page.taxonomies.tags %} + {% for tag in page.taxonomies.tags %} #{{ tag }} {% endfor %} +{% endif %} {% endmacro title %} {% macro footer(page) %}

Back to top

diff --git a/templates/macros/page.html b/templates/macros/page.html index 69d40f7..0029e13 100644 --- a/templates/macros/page.html +++ b/templates/macros/page.html @@ -1,3 +1,5 @@ -{% macro page_listing(page) %}
- {{ page.title }} -
{% endmacro page_listing %} +{% macro page_listing(page) %} +
+ {{ page.title }} +
+{% endmacro page_listing %} diff --git a/templates/macros/social.html b/templates/macros/social.html index 8daf7bc..6d45b9e 100644 --- a/templates/macros/social.html +++ b/templates/macros/social.html @@ -1,4 +1,6 @@ -{% macro social_links(social_config) %}{% set base_url = get_url(path="", lang=lang) %} +{% macro social_links(social_config) %} +{% set base_url = get_url(path="", lang=lang) %} + {% if config.generate_feed %}{% if config.extra.social.feed %} {% endif %}{% endif %} {% if social_config.mail %} {% endif %} @@ -20,4 +22,5 @@ {% if social_config.pinterest %} {% endif %} {% if social_config.twitch %} {% endif %} {% if social_config.youtube %} {% endif %} - {% endmacro %} + +{% endmacro %} -- cgit v1.3.1