{{ _('News') }}
{% for post in posts %}
{% else %}
{% if page_obj.has_other_pages() %}
{% endif %}
{{ post.title }}
{%- if post.sticky %}{% endif -%} {% with authors=post.authors.all() %} {%- if authors -%} {%- endif -%} {% endwith %} {% with abs=_('posted on {time}'), rel=_('posted {time}') %} {{ relative_time(post.publish_on, abs=abs, rel=rel) }} {% endwith %} {{- post_comment_counts[post.id] or 0 -}}
{% cache 86400 'post_summary' post.id %}
{{ post.summary|default(post.content, true)|markdown('blog', 'svg', lazy_load=True)|reference|str|safe }}
{% endcache %}
{%- if post.summary -%}
{%- endif -%}
Chưa có thông báo.
{% endfor %}