From d8cd3b9988f9021ea1b285db3231048acb7b74f4 Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Mon, 30 May 2022 22:47:37 -0700
Subject: Add Font Files and cachebust
---
templates/macros/macros.html | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
(limited to 'templates/macros/macros.html')
diff --git a/templates/macros/macros.html b/templates/macros/macros.html
index bfaaaae..f343828 100644
--- a/templates/macros/macros.html
+++ b/templates/macros/macros.html
@@ -1,10 +1,28 @@
{% macro title(page) %}
-{{ page.date | date(format="%B %d, %Y") }}{% if page.taxonomies.categories %} [{% for cat in page.taxonomies.categories %}{{ cat }}{% endfor %}]{% endif %}
+{{ 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 }}
+ {% 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 config.extra.readtime | default(value=true) %}
+ - {{ page.reading_time }} min
+{% endif %}
{% endmacro title %}
+
+
{% macro footer(page) %}
{% endmacro footer %}
--
cgit v1.3.1