{% 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 {{ link_start }}{{ name }}{{ link_end }}" | _(link_start="", name=name, link_end="")}}{{ date | date(format="%B %e, %Y") }}

{{ post.title }}

{{ 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" | _ }}

{% 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 %}