From 23d62aaa39dae753d39dcd596b962ccc1c5cdb36 Mon Sep 17 00:00:00 2001 From: Mole Shang <135e2@135e2.dev> Date: Wed, 2 Sep 2026 15:49:49 +0800 Subject: templates: migrate to zola 0.23 tera v1->v2 https://github.com/getzola/zola/issues/3235 https://github.com/Keats/tera/blob/master/MIGRATION.md --- templates/home.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'templates/home.html') 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 %}
{% for post in paginator.pages %} @@ -15,10 +13,10 @@ {{ post.content | safe }} {% endif %} - {{ macros::post_meta(post=post, chinese_date=config.extra.seje_chinese_date, expand=false) }} + {{ }} {% endfor %} {# {{ paginator.next }} #}
{% include "paginator.html" %} -{% endblock %} \ No newline at end of file +{% endblock %} -- cgit v1.2.3