{% extends "base.html" %}
{%- block head_title %}
{{ SITENAME }} :: {{ article.title|striptags }}
{% endblock head_title %}
{% block head %}
{{ super() }}
{% if article.description %}
{% endif %}
{% for tag in article.tags %}
{% endfor %}
{% endblock %}
{%- block title %}
{{ article.title }}
{% endblock title %}
{%- block author %}
{% if article.authors %}
{% for author in article.authors %}
{{ author }}
{% if not loop.last %}
,
{% else %}
{% endif %}
{% endfor %}
{{ article.locale_date }}
{% if article.license %}
{{ article.license[0] }}
{% endif %}
{% endif %}
{% endblock author %}
{%- block abstract %}
{{ article.summary }}
{% endblock abstract %}
{%- block content %}
{% if 'add_sidenotes' in JINJA_FILTERS and 'add_lightboxes' in JINJA_FILTERS %}
{{ article.content | add_sidenotes | add_lightboxes }}
{% elif 'add_sidenotes' in JINJA_FILTERS %}
{{ article.content | add_sidenotes }}
{% elif 'add_lightboxes' in JINJA_FILTERS %}
{{ article.content | add_lightboxes }}
{% else %}
{{ article.content }}
{% endif %}
{% endblock content %}