From 3426d73c865761918886381b34c2f6bfe0cc95fd Mon Sep 17 00:00:00 2001 From: eatradish Date: Thu, 6 Apr 2023 13:30:54 +0800 Subject: =?UTF-8?q?fix:=20try=20to=20fix=20'=E4=BA=8C=20=E3=80=87=20?= =?UTF-8?q?=E4=B8=80=20=E4=B9=9D'=20issue=20(#2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/macros.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'templates/macros.html') diff --git a/templates/macros.html b/templates/macros.html index 7379b1b..416c2b4 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -9,8 +9,5 @@ '廿一', '廿二', '廿三', '廿四', '廿五', '廿六', '廿七', '廿八', '廿九', '三十', '三十一'] %} -{% for c in year | as_str %} - {{ lut1 | nth(n=c | int) }} -{% endfor %} -年{{ lut2 | nth(n=month-1)}}月{{ lut2 | nth(n=day-1) }}日 +{% for c in year | as_str %}{{ lut1 | nth(n=c | int) }}{% endfor %}年{{ lut2 | nth(n=month-1)}}月{{ lut2 | nth(n=day-1) }}日 {% endmacro %} -- cgit v1.2.3