{% extends 'base.html' %} {% load i18n render_bundle_csp fullurl static %} {% block meta_title %}{{ page_title }}{% endblock meta_title %} {% block meta_description %}{{ page_description }}{% endblock meta_description %} {% block extrameta %} {# use English page as canonical for search engine crawlers (no redirects) #} {% language "en" %} {% endlanguage %} {% spaceless %} {% for lang_code in PUBLIC_SITE_LANGUAGES %} {% language lang_code %} {% endlanguage %} {% endfor %} {% endspaceless %} {# maptiler css #} {% endblock extrameta %} {% block main %} {% include "entities/snippets/person_header.html" %} {# tabs #} {% include "entities/snippets/person_tabs.html" %} {% if maptiler_token %} {# Translators: accessibility label for place map #} {% translate 'Map' %} {% for relation in person.personplacerelation_set.all %} {% if relation.place.latitude and relation.place.longitude %} {% endif %} {% endfor %} {% endif %} {# Translators: accessibility label for place list #} {% translate "Related Places" %} {# Translators: table header for place name #} {% translate 'Name' %} {# Translators: table header for person-place relation type #} {% translate 'Relation' %} {% translate "Notes" %} {% for relation in related_places %} {{ relation.place }} {{ relation.type }} {{ relation.notes }} {% endfor %} {% endblock main %}