summaryrefslogtreecommitdiff
path: root/templates/home.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/home.html')
-rw-r--r--templates/home.html8
1 files changed, 1 insertions, 7 deletions
diff --git a/templates/home.html b/templates/home.html
index 6c0f0c1..1242955 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -15,13 +15,7 @@
{{ post.content | safe }}
{% endif %}
</div>
- <div class="post-meta">
- {% if config.extra.seje_chinese_date %}
- {{ macros::format_chinese_date(year=post.year, month=post.month, day=post.day) }}
- {% else %}
- {{ post.date|date(format="%Y/%m/%d") }}
- {% endif %}
- </div>
+ {{ macros::post_meta(post=post, chinese_date=config.extra.seje_chinese_date, expand=false) }}
</article>
{% endfor %}
{# {{ paginator.next }} #}