{% extends "base" %} {% block title %} {{ post.title }} {% endblock title %} {% block header %} {{ blog.title }} {% endblock header %} {% block content %} {% if author.display_name %} {% set name = author.display_name %} {% else %} {% set name = author.username %} {% endif %}

Written by {{ name }}{{ date | date(format="%B %e, %Y") }}

{{ post.title }}

{{ post.content | safe }}

This article is under the {{ post.license }} license.

{{ n_likes }} like{{ n_likes | pluralize }}

{% if has_liked %} I don't like this anymore {% else %} Add yours {% endif %}

{{ n_reshares }} reshare{{ n_reshares | pluralize }}

{% if has_reshared %} I don't want to reshare this anymore {% else %} Reshare {% endif %}

Comments

{% for comment in comments %} {% if comment.author.display_name %} {% set comment_author_name = comment.author.display_name %} {% else %} {% set comment_author_name = comment.author.username %} {% endif %}
{{ comment_author_name }}
{{ comment.content | safe }}
Respond
{% endfor %}
Comment
{% endblock content %}