{% extends 'base.html' %} {% block main %}
{# 作者信息 #}
{{ thread.result['data']['post']['user']['nickname'] }}
{{ thread.getAuthorDescribe() }}

{{ thread.result['data']['post']['post']['subject'] }}

发布时间:{{ thread.getReleasedTime() }}

{#

{{ thread.result['data']['post']['post']['subject'] }}

#} {# 如果是以文字为主的文章,则直接使用返回的HTML文件并进行表情包转义,否则使用内置的渲染器对文章进行渲染并插入图片 #} {% if type == 1 %}
{{ thread.getContent() | safe }}
{% elif type == 2 %}
{% for images in thread.result['data']['post']['post']['images'] %}
{% endfor %} {% elif type == 5 %}

{% endif %}

{# 文章标签 #} {% if thread.getTags() %}
{% for tag in thread.getTags() %}
{{ tag['name'] }}
{% endfor %}
{% endif %}

点赞数: {{ thread.getVotes() }}

{% if account.isLogin %}

收藏数: {{ thread.getCollects() }}

{% if account.isLogin %}
{% if account.isLogin %}
{% endif %}
{# 评论区(使用iframe嵌入) #}
{% endblock %}