{% 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 commentAuthorName = comment.author.display_name %} {% else %} {% set commentAuthorName = comment.author.username %} {% endif %}
{{ name }}
{{ comment.content | safe }}
Respond
{% endfor %}
Comment
{% endblock content %}