{% extends "base.html" %}
{#
SEO + favicon block.
- Multi-size favicon links (128/256/512 — the three sizes the user
approved). mkdocs-material's `theme.favicon` already writes the
primary ; these are size hints for higher-DPI
displays and OS app launchers.
- Open Graph + Twitter Card meta so link previews on Slack /
Discord / Twitter / LinkedIn render the sepia emblem with the
page-specific title and description.
- JSON-LD `SoftwareApplication` block on the homepage for Google
rich-snippet eligibility.
#}
{% block extrahead %}
{#- `page` is None on some auxiliary templates (sitemap, 404 fallback);
guard so the build doesn't crash on `page.url` lookups. -#}
{%- if page %}
{%- set page_title = (page.meta and page.meta.title) or page.title or config.site_name -%}
{%- set page_desc = (page.meta and page.meta.description) or config.site_description -%}
{%- set page_url = page.canonical_url or (config.site_url ~ (page.url or '')) -%}
{%- set og_image = config.site_url ~ 'logo.png?v=0.11.0' -%}
{%- set is_korean = (page.url or '').startswith('ko/') -%}
{%- set og_locale = 'ko_KR' if is_korean else 'en_US' -%}
{%- set og_alt = 'en_US' if is_korean else 'ko_KR' -%}
{%- if page.is_homepage and not is_korean %}
{%- endif %}
{%- endif %}
{% endblock %}