{% extends "base.html" %} {# Link-preview metadata. zensical emits `description`, `author` and a canonical URL, but nothing a social crawler reads, so a link to these pages posted to a forum or a feed renders as a bare URL. Everything below is derived from the page the build is already producing — no per-page front matter to keep in sync. #} {% block extrahead %} {% if page.meta and page.meta.title %} {% set title = page.meta.title %} {% elif page.title and not page.is_homepage %} {% set title = page.title | striptags ~ " - " ~ config.site_name %} {% else %} {% set title = config.site_name %} {% endif %} {% set description = (page.meta and page.meta.description) or config.site_description %} {% set image = config.site_url ~ config.extra.social_card.image %} {% endblock %}