{% extends 'base.html' %} {% load static i18n render_bundle_csp corpus_extras fullurl %} {% block meta_title %}{{ page_title }}{% endblock meta_title %} {% block meta_description %}{{ page_description }}{% endblock meta_description %} {% block extrameta %} {% spaceless %} {% for lang_code in PUBLIC_SITE_LANGUAGES %} {% language lang_code %} {% endlanguage %} {% endfor %} {% endspaceless %} {# digital editions metadata for twitter, slack #} {% if document.digital_editions %} {% endif %} {# preview card images for twitter and open graph #} {% if meta_image %} {% with meta_image|iiif_image:"size:width=1080" as image %} {% endwith %} {% endif %} {% endblock extrameta %} {% block main %}

{{ page_title }}

{% include "corpus/snippets/document_header.html" %} {# tabs #} {% include "corpus/snippets/document_tabs.html" %}

{# Translators: label for document metadata section (editor, date, input date) #} {% translate 'Metadata' %}

{# metadata #} {# secondary metadata #}
{% if document.tags.exists %}
{# Translators: label for tags on a document #}

{% translate 'Tags' %}

{% endif %}
{# Translators: Label for date document was first added to the PGP #}

{% translate 'Input date' %}

{# Translators: Date document was first added to the PGP #} {% blocktranslate with date=document.log_entries.last.action_time.year %} In PGP since {{ date }} {% endblocktranslate %}

{# Translators: label for document description #} {% translate 'Description' %}

{{ document.description|pgp_urlize }}

{# viewer #} {% include "corpus/snippets/document_transcription.html" %} {# tertiary metadata #}
{{ document.permalink }}
{% endblock main %}