From 2ef7c0ec1ff976b807691fea23eaaf5ea1e93bc9 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Sun, 27 Mar 2022 19:19:28 -0700 Subject: init --- templates/macros/macros.html | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 templates/macros/macros.html (limited to 'templates/macros/macros.html') diff --git a/templates/macros/macros.html b/templates/macros/macros.html new file mode 100644 index 0000000..f0fc531 --- /dev/null +++ b/templates/macros/macros.html @@ -0,0 +1,7 @@ +{% 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

+{% endmacro footer %} -- cgit v1.3.1