From c217e580ee111873cc14195b62574b05c32dad66 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Mon, 1 May 2023 16:30:53 +0800 Subject: templates/macros: abstract post-meta section to a new macro --- templates/macros.html | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) (limited to 'templates/macros.html') diff --git a/templates/macros.html b/templates/macros.html index 416c2b4..04b27bf 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -11,3 +11,27 @@ '廿九', '三十', '三十一'] %} {% for c in year | as_str %}{{ lut1 | nth(n=c | int) }}{% endfor %}年{{ lut2 | nth(n=month-1)}}月{{ lut2 | nth(n=day-1) }}日 {% endmacro %} + +{% macro post_meta(post, chinese_date, expand) %} +
+{% endmacro %} -- cgit v1.2.3