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/taxonomy_single.html | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'templates/taxonomy_single.html') diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html index 146753a..9dbf19f 100644 --- a/templates/taxonomy_single.html +++ b/templates/taxonomy_single.html @@ -17,13 +17,7 @@ {{ post.summary | safe }} More -
- {% if config.extra.seje_chinese_date %} - {{ macros::format_chinese_date(year=post.year, month=post.month, day=post.day) }} - {% else %} - {{ post.date|date(format="%Y/%m/%d") }} - {% endif %} -
+ {{ macros::post_meta(post=post, chinese_date=config.extra.seje_chinese_date, expand=false) }} {% endfor %} {# {{ paginator.next }} #} -- cgit v1.2.3