{% extends "lotus/base.html" %} {% load i18n lotus smart_image %} {% block header-title %}{% if article_object.seo_title %}{{ article_object.seo_title }}{% else %}{{ article_object.title }}{% endif %}{% endblock header-title %} {% block metas %} {% if article_object.lead %} {% endif %} {% endblock metas %} {% block lotus_content %}{% spaceless %} {% translation_siblings article_object as sibling_stats %}
{% if article_object.image %} {% endif %}

{{ article_object.title }}

{{ article_object.publish_datetime }}

{{ article_object.introduction|safe }}
{{ article_object.content|safe }}
{% if user.is_authenticated and user.is_staff %}
{% trans "Edit" %} {% if sibling_stats.available_languages %} {% trans "Translate" %} {% endif %}
{% if article_object.cover %}
{% trans "Cover" %}
{% endif %} {% article_state_list article_object as article_states %} {% if "featured" in article_states or "pinned" in article_states or "draft" in article_states or "private" in article_states or "passed" in article_states or "not-yet" in article_states %}
{% trans "States" %}
    {% if "featured" in article_states %}
  • {% trans "Featured" %}
  • {% endif %} {% if "pinned" in article_states %}
  • {% trans "Pinned" %}
  • {% endif %} {% if "draft" in article_states %}
  • {% trans "Draft" %}
  • {% endif %} {% if "private" in article_states %}
  • {% trans "Private" %}
  • {% endif %} {% if "not-yet" in article_states %}
  • {% trans "Scheduled publication" %}
  • {% endif %} {% if "passed" in article_states %}
  • {% trans "Ended publication" %}
  • {% endif %}
{% endif %} {% endif %} {% if sibling_stats.siblings %}
{% trans "Available in languages" %}
{% include "lotus/article/partials/siblings.html" with siblings=sibling_stats.siblings %}
{% endif %} {% with categories=article_object.get_categories %} {% if categories %}
{% trans "Categories" %}
{% endif %} {% endwith %} {% with tags=article_object.get_tags %} {% if tags %}
{% trans "Tags" %}
{% for tag in tags %} {{ tag.name }} {% endfor %}
{% endif %} {% endwith %} {% with authors=article_object.get_authors %} {% if authors %}
{% trans "Authors" %}
{% endif %} {% endwith %} {% article_get_related article_object as relateds %} {% if relateds %}
{% trans "Related articles" %}
{% endif %}
{% endspaceless %}{% endblock lotus_content %}