{% extends "pydata_sphinx_theme/layout.html" %}
{% block extrahead %}
{{ super() }}
{# Source Sans Pro 400 regular+italic and 700 regular from Google Fonts #}
{# Sitemap link for search engines #}
{%- if pageurl %}
{%- set base_url = pageurl.split('://')[0] + '://' + pageurl.split('://')[1].split('/')[0] + '/' %}
{%- endif %}
{# DOI landing-page metadata for the site's [[project.citations]].
DataCite asks that a DOI's landing page carry its DOI in machine-readable
form, and Google Scholar and Zotero read the wider Highwire set around it
-- title, creators and their institutions and ORCIDs, publication date,
publisher, and the full-text URL -- which is what gives a reader a
one-click "Save to Zotero" with the right record. These tags describe the
one citation marked `self`: `self` is the claim that this site is where
that DOI resolves, and it alone belongs here -- which citation the site
asks readers to *use* is `preferred`, and that is a question for the
visible surfaces, not for a harvester. The whole block arrives already
escaped from documenteer.citations.compose_highwire_tags, published into
html_context by the guide preset (and replaced, on a page a citation
claims, by documenteer.ext.citationpage) -- nothing is composed here, so
it is emitted verbatim. A site that declares no citations, or none marked
`self`, sets no variable and emits nothing. #}
{%- if documenteer_self_citation_metatags %}
{{ documenteer_self_citation_metatags|indent(2)|safe }}
{%- endif %}
{# The site's citations as a schema.org description of the work this page is
the landing page for. The value arrives already serialized and escaped
for a
{%- endif %}
{% endblock %}