{% extends 'base.html' %} {% from 'bootstrap/pagination.html' import render_pagination %} {% from 'bootstrap/form.html' import render_form %} {% block title %}详情{% endblock title %} {% block content %}
分类: {{ post.category.name }}
日期: {{ moment(post.timestamp).format('LLL') }}评论区已关闭
评论数:{{ pagination.total }} {% if current_user.is_authenticated %}
{% endif %} {% if comments %}{% for comment in comments %}-
{% if comment.replied %}
回复
{% if current_user.is_authenticated %}
{% endif %}
{% endfor %}
{% else %}{% if comment.from_admin %} {{ admin.name }} {% else %} {{ comment.author }} {% endif %} {% if comment.from_admin %} 作者{% endif %} {% if comment.replied %}Reply{% endif %}
{{ moment(comment.timestamp).fromNow() }}{{ comment.replied.author }}:
{%- endif -%}{{ comment.replied.body }}
{{ comment.body }}
这里还没有评论...