{% extends 'base.html' %} {% block title %}{{ desired_translation.title }}{% endblock %} {% block date %}{{ article.date|date:"Y-m-d" }}{% endblock %} {% block longdescription %}{{ desired_translation.unformatted_content|truncatechars:500 }}{% endblock %} {% block description %}{% if article.authors.count %}by {{ article.authors.all|join:", " }} // {% endif %}{{ desired_translation.subtitle }}{% endblock %} {% block image %}{% if article.image %}{{ article.image.url }}{% else %}{% endif %}{% endblock %} {% block pagetype %}article{% endblock %} {% block content %}
{% if not article.published %} {% endif %} {% if translations %} {% endif %}

{{ desired_translation.formatted_content|safe }}

{% with num_authors=article.authors.count %} {% if num_authors == 0 %}

avtor{{ num_authors|pluralize }}

{% for author in article.authors.all %} {% include 'author_bio.html' with author=author only %} {% endfor %}
{% endif %} {% endwith %} {% with related=article.get_related %} {% if related %} {% include 'article_toolbar.html' with title=desired_translation.title|urlencode url=request.build_absolute_uri|urlencode only %} {% endif %} {% endwith %} {% if False %}
{% endif %}
{% endblock %}