From 0c213684ead5d3c4a14a17d2e06a6a31188b6a55 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Tue, 31 May 2022 02:54:13 -0700 Subject: Add UglyUrls for Local Build, Restructure SCSS --- templates/macros/macros.html | 20 ++++++++++---------- templates/macros/page.html | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'templates/macros') diff --git a/templates/macros/macros.html b/templates/macros/macros.html index 16a4e12..8003420 100644 --- a/templates/macros/macros.html +++ b/templates/macros/macros.html @@ -1,16 +1,16 @@ {%- macro title(page) %} -

{{ page.title }}

+

{{ page.title }}

{{ page.date | date(format="%B %d, %Y") }} {%- if page.taxonomies.authors and config.taxonomies %} by {%- for author in page.taxonomies.authors %} {%- if author_flag %} and {% endif %} - {{ author }} + {{ author }} {%- set_global author_flag = true %} {%- endfor %} {%- elif config.extra.author and config.extra.author_show %} by {{ config.extra.author }} {%- endif %} -{%- 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 %} +{%- 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 %} {%- if config.extra.readtime %} - {{ page.reading_time }} {{ config.extra.readtime_string | default(value="min") }} {% endif %} {%- endmacro title %} @@ -51,21 +51,21 @@ {%- endif %} {%- endif %} diff --git a/templates/macros/page.html b/templates/macros/page.html index d5ef918..9c5b156 100644 --- a/templates/macros/page.html +++ b/templates/macros/page.html @@ -1,5 +1,5 @@ {%- macro page_listing(page) %}
- {{ page.title }} + {{ page.title }}
{%- endmacro page_listing %} -- cgit v1.3.1