{% extends "base.html" %}
{#
SEO and AEO head additions for the TRACE conformance suite.
1. The homepage
is overridden. Material falls back to site_name when a
page has no front-matter title, which left the homepage titled "TRACE
Tests". Front matter is not an option: docs_dir is the repository root, so
README.md is also the GitHub landing page and YAML would render as noise
there.
2. Open Graph and Twitter meta, so links produce a card instead of a bare URL,
plus JSON-LD so answer engines can model what this suite is.
Asset paths derive from config.site_url. Do not hardcode them: assets are
served under /docs/assets/ here because docs_dir is the repository root and
CI copies docs/ into the build directory. That differs between sibling
repositories, and a hardcoded path is how cMCP shipped a broken card.
#}
{% block htmltitle %}
{% if page and page.is_homepage %}
Verify your TRACE implementation - {{ 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 = 'Verify your TRACE implementation' %}
{% endblock %}