{% extends "base" %} {% block title %} {{ post.title }} {% endblock title %} {% block header %} {{ blog.title }} {% endblock header %} {% block content %}

{{ post.title }}

{% if author.display_name %} {% set name = author.display_name %} {% else %} {% set name = author.username %} {% endif %} {{ "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name }}{{ link_3 }}" | _( link_1='', name=name, link_3="" ) }}{{ date | date(format="%B %e, %Y") }}

{{ post.content | safe }}

{{ "This article is under the {{ license }} license." | _(license=post.license) }}

{{ "{{ count }} likes" | _n(singular="One like", count=n_likes) }}

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

{{ "{{ count }} reshares" | _n(singular="One reshare", count=n_reshares) }}

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

{{ "Comments" | _ }}

{% if account %}
{# Ugly, but we don't have the choice if we don't want weird paddings #}
{% endif %}
{% 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 %} {% endfor %}
{% endblock content %}