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/home.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/home.html')
| -rw-r--r-- | templates/home.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/templates/home.html b/templates/home.html index 1242955..298c232 100644 --- a/templates/home.html +++ b/templates/home.html @@ -1,7 +1,5 @@ {% extends "base.html" %} -{% import "macros.html" as macros %} - {% block content %} <section class="posts"> {% for post in paginator.pages %} @@ -15,10 +13,10 @@ {{ post.content | safe }} {% endif %} </div> - {{ macros::post_meta(post=post, chinese_date=config.extra.seje_chinese_date, expand=false) }} + {{ <post_meta post={post} chinese_date={config.extra.seje_chinese_date} expand={false} /> }} </article> {% endfor %} {# {{ paginator.next }} #} </section> {% include "paginator.html" %} -{% endblock %}
\ No newline at end of file +{% endblock %} |
