summaryrefslogtreecommitdiff
path: root/templates/section.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/section.html')
-rw-r--r--templates/section.html4
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 %}