{% set head_title = meta_title | default(page.title, true) %}
{% set head_description = meta_description | default(page_description, true) %}
{% if head_title is present and head_title != site.title %}{{ head_title | e }} - {{ site.title | e }}{% else %}{{ site.title | e }}{% endif %}
{% if noindex is present and noindex %}{% endif %}
{# Dark is the brand default, so the fallback theme-color is the dark surface.
A visitor who prefers light gets the light one. #}
{# Set the pinned theme and the .js flag before first paint. Without the .js
flag every [data-reveal] element stays visible, so a failed script means a
static page rather than a blank one. #}
{% if taxonomy_kind is present %}
{% if seo.og_image is present %}{% endif %}
{% if seo.og_image is present %}{% endif %}
{% else %}
{{ og_all_tags }}
{% endif %}
{% if not (noindex is present and noindex) %}
{{ canonical_tag }}
{{ jsonld }}
{% if taxonomy_kind is present %}
{% if taxonomy_kind == "authors_index" %}
{% elif taxonomy_kind == "authors_term" %}
{% endif %}
{% else %}
{{ hreflang_tags }}
{% endif %}
{% endif %}
{# Icon srcs inside the manifest are relative to the manifest itself, so they
survive the /noir sub-path. Keep them that way. #}
{# hwaro's highlight_css emits a root-absolute /assets/ path that ignores
base_url and 404s under a sub-path, so the vendored sheet is referenced
here directly. style.css loads after it and overrides every token. #}
{{ auto_includes_css }}
{{ "ui.skip_to_content" | t }}
{% include "partials/icons.html" %}