{{- /* Header component: the page title, or the site title if the page has none. The `site` variant (list pages) renders an `h1`. The `page` variant (single pages) renders a `div`, because the article itself contains the `h1`. */ -}} {{- $page := .page -}} {{- $title := $page.Title | compare.Default $page.Site.Title -}} {{- if compare.Eq .variant "page" -}}