on the homepage only; every other page keeps Material's
"{page} - {site_name}" title. The nav label and the hero H1 are untouched. -#}
{% block htmltitle %}
{% if page and page.is_homepage %}
lgtmaybe — Provider-agnostic AI PR reviewer (keyless cloud, self-hosted)
{% else %}
{{ super() }}
{% endif %}
{% endblock %}
{% block extrahead %}
{#- Per-page title/description/url, reused by the social tags and JSON-LD below.
The homepage gets the same keyword-rich title as . -#}
{% set home_title = "lgtmaybe — Provider-agnostic AI PR reviewer (keyless cloud, self-hosted)" %}
{% set page_title = home_title if (page and page.is_homepage) else ((page.title ~ " — " ~ config.site_name) if (page and page.title) else config.site_name) %}
{% 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 ~ "assets/og-card.png" %}
{#- Crawl + snippet directives: index everything, and let search / AI answer
engines pull large previews and unlimited-length snippets. -#}
{#- SEO / social: Open Graph + Twitter card, sharing one static preview image. -#}
{#- Discoverability for LLM crawlers / coding agents: the plain-text index. -#}
{#- Structured data: the tool itself, plus the docs site. Site-wide. -#}
{#- Per-page structured data: the article itself + a breadcrumb trail from the
nav, so search results can show the page's place in the docs. -#}
{% if page and not page.is_homepage %}
{% endif %}
{% endblock %}