{# 文章详情页(/posts//)。 #} {% extends "base.html" %} {% block meta %} {{ super() }} {% if post.author %} {% endif %} {% if post.tags %} {% endif %} {% if post.updated %} {% endif %} {% if post.author %} {% endif %} {% for tag in post.tags %} {% endfor %} {% if license_url %} {% endif %} {% endblock %} {% block content %}

{{ post.title }}

{# 由 markdown 包渲染;作者写入的原始 HTML 原样透传。 #}
{{ post.html|safe }}
{% if newer_post or older_post %} {% endif %} {# 许可:作者写什么就显示什么,前缀来自界面语言。 #} {% if license_text %}

{{ ui('licensed_under') }} {% if license_url %}{{ license_text }}{% else %}{{ license_text }}{% endif %}

{% endif %} {% endblock %}