{% extends "base.html" %}
{#
SEO and AEO head additions for cA2A.
Two things happen here:
1. The homepage
is overridden. Material falls back to site_name when a
page has no front-matter title, which left the homepage titled "cA2A".
Front matter is not an option here: docs_dir is the repository root, so
README.md is also the GitHub landing page and YAML front matter would
render as noise there.
2. Open Graph and Twitter card meta, so links to this site produce a card
rather than a bare URL, plus JSON-LD so answer engines can model what
cA2A is.
Asset paths are derived from config.site_url. Do not hardcode them: assets
live under /docs/assets/ here because docs_dir is the repository root, and
that differs from sibling repositories.
#}
{% block htmltitle %}
{% if page and page.is_homepage %}
Secure, confidential agent-to-agent delegation - {{ config.site_name }}
{% else %}
{{ super() }}
{% endif %}
{% endblock %}
{% block extrahead %}
{{ super() }}
{% set page_desc = page.meta.description if page and page.meta and page.meta.description else config.site_description %}
{% set page_url = page.canonical_url if page and page.canonical_url else config.site_url %}
{% set og_image = config.site_url ~ 'docs/assets/og.png' %}
{% set social_title = 'Secure, confidential agent-to-agent delegation' %}
{% endblock %}