{% extends "base" %} {% import "macros" as macros %} {% block head %} {% if article.cover %} {% endif %} {% if article.post.subtitle %} {% endif %} {% endblock head %} {% block title %} {{ article.post.title }} {% endblock title %} {% block header %} {{ blog.title }} {% endblock header %} {% block content %}

{{ article.post.title }}

{{ article.post.subtitle }}

{{ "Written by {{ link_1 }}{{ url }}{{ link_2 }}{{ name | escape }}{{ link_3 }}" | _( link_1='', name=author.name, link_3="" ) }}{{ date | date(format="%B %e, %Y") }} {% if is_author %} — {{ "Edit" | _ }}
{% endif %} {% if not article.post.published %} {{ "Draft" }} {% endif %}
{% if article.cover %}
{% endif %}
{{ article.post.content | safe }}

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

{{ macros::avatar(user=author, pad=true, size="medium") }}

{{ author.name }}

{{ author.summary | safe }}

{% if is_following %} {{ "Unfollow" | _ }} {% else %} {{ "Follow" | _ }} {% endif %}
{% if account %}

{{ n_reshares }}

{% if has_reshared %} {% else %} {% endif %}
{% else %}

{{ "Login or use your Fediverse account to interact with this article" | _ }}

{{ n_reshares }}

{{ "Boost" | _ }}
{% endif %}

{{ "Comments" | _ }}

{% if account %}
{{ macros::input( name="warning", label="Content warning", optional=true, form=comment_form, errors=comment_errors, default=default) }} {% if previous %} {% endif %} {# Ugly, but we don't have the choice if we don't want weird paddings #}
{% endif %} {% if comments | length > 0 %}
{% for comment in comments %} {{ macros::comment(comm=comment) }} {% endfor %}
{% else %}

{{ "No comments yet. Be the first to react!" | _ }}

{% endif %}
{% endblock content %}