diff options
| author | Mole Shang <135e2@135e2.dev> | 2026-09-02 15:49:49 +0800 |
|---|---|---|
| committer | Mole Shang <135e2@135e2.dev> | 2026-09-02 15:49:49 +0800 |
| commit | 23d62aaa39dae753d39dcd596b962ccc1c5cdb36 (patch) | |
| tree | 269670883636ee9adb47a123acd69abd2d6522a0 /templates/section.html | |
| parent | a582b6ef76bfb79744716f5cdfafff8c41861ec9 (diff) | |
| download | Seje2-23d62aaa39dae753d39dcd596b962ccc1c5cdb36.tar.gz Seje2-23d62aaa39dae753d39dcd596b962ccc1c5cdb36.tar.bz2 Seje2-23d62aaa39dae753d39dcd596b962ccc1c5cdb36.zip | |
templates: migrate to zola 0.23main
tera v1->v2
https://github.com/getzola/zola/issues/3235
https://github.com/Keats/tera/blob/master/MIGRATION.md
Diffstat (limited to 'templates/section.html')
| -rw-r--r-- | templates/section.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/section.html b/templates/section.html index bca7f6b..a3ffc75 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,7 +1,5 @@ {% extends "base.html" %} -{% import "macros.html" as macros %} - {% block content %} <article class="post"> <div class="post-title"> @@ -13,7 +11,7 @@ <div class="post-meta"> <span class="post-time"> {% if config.extra.seje_chinese_date %} - {{ macros::format_chinese_date(year=section.extra.year, month=section.extra.month, day=section.extra.day) }} + {{ <format_chinese_date year={section.extra.year} month={section.extra.month} day={section.extra.day} /> }} {% else %} {{ section.extra.date|date(format="%Y/%m/%d") }} {% endif %} |
