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/page.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/page.html')
| -rw-r--r-- | templates/page.html | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/page.html b/templates/page.html index f795876..791a8a1 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,7 +1,5 @@ {% extends "base.html" %} -{% import "macros.html" as macros %} - {% block content %} <article class="post"> <div class="post-title"> @@ -10,7 +8,7 @@ <div class="post-content"> {{ page.content | safe }} </div> - {{ macros::post_meta(post=page, chinese_date=config.extra.seje_chinese_date, expand=true) }} + {{ <post_meta post={page} chinese_date={config.extra.seje_chinese_date} expand={true} /> }} </article> <div class="prev_next"> |
