{{/* ---- Resolved values ---- */}}
{{ $title := cond .IsHome .Site.Title (printf "%s | %s" .Title .Site.Title) }}
{{ $description := or .Description (i18n "siteDescription") }}
{{ $url := .Permalink }}
{{ $lang := .Site.Language.Lang }}
{{ $locale := replace .Site.LanguageCode "-" "_" }}
{{ $ogImage := .Site.Params.ogImage }}
{{ $logoImage := or .Site.Params.logoImage .Site.Params.ogImage }}
{{ $imageAlt := i18n "seoImageAlt" }}
{{/* ---- Canonical ---- */}}
{{/* ---- Meta robots ---- */}}
{{ if or .Params.noindex .Draft }}
{{ else }}
{{ end }}
{{/* ---- Meta description ---- */}}
{{ with $description }}
{{ end }}
{{/* ---- Hreflang alternates ---- */}}
{{ range .AllTranslations }}
{{ end }}
{{ range .AllTranslations }}
{{ if eq .Language.Weight 1 }}
{{ end }}
{{ end }}
{{/* ---- Open Graph ---- */}}
{{ if .IsHome }}
{{ else }}
{{ end }}
{{ with $ogImage }}
{{ end }}
{{/* ---- Twitter Card ---- */}}
{{ with .Site.Params.twitterHandle }}
{{ end }}
{{ with $ogImage }}
{{ end }}
{{/* ---- JSON-LD Organization (home only) ---- */}}
{{ if .IsHome }}
{{ end }}
{{/* ---- JSON-LD WebSite (home only — enables sitelinks search) ---- */}}
{{ if .IsHome }}
{{ end }}