{% extends "base.html" %} {# Page titles are written for someone already inside the site โ€” "Comparison", "httpx", "Timeout" โ€” which says nothing to someone meeting the project in a search result or a pasted link. `seo_titles` in zensical.toml maps a page url to the title that page should carry outside the site. It also covers the landing page: Zensical never populates `page.is_homepage`, so the theme falls through to "{{ page.title }} - {{ site_name }}" and titles it "interlock - interlock". A page absent from the map keeps the theme default. #} {% set seo_titles = config.extra.seo_titles | d({}) %} {% block htmltitle %} {% if page.url in seo_titles %} {{ seo_titles[page.url] }} ยท {{ config.site_name }} {% else %} {{ super() }} {% endif %} {% endblock %} {# Without these a link to the docs pasted into Slack, Reddit or a chat renders as a bare url. Zensical ships no social-card generation and the docs carry no image asset, so this is the text-only `summary` card, not a large one. #} {% block extrahead %} {# Proves ownership of https://bagowix.github.io/interlock/ to Google Search Console. Public by design, not a secret. Google only reads it from the property root, but emitting it everywhere costs nothing and does not depend on detecting the landing page โ€” the very thing Zensical gets wrong above. Removing this tag silently un-verifies the property. #} {% set og_title = seo_titles[page.url] if page.url in seo_titles else (page.title | striptags) %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}