{{- $format := partial "get-format.hugo" . }} {{- $outputFormat := partial "output-format.hugo" (dict "page" . "format" $format) }} {{- $basename := "index" }} {{- if eq .Kind "home" }} {{- if eq $outputFormat "searchpage" }} {{- $basename = partial "BaseName.hugo" $format.RelPermalink }} {{- end }} {{- end }} {{- if eq . .Site.Sites.First.Home }} {{- $hugoVersion := "0.121.0" }} {{- if lt hugo.Version $hugoVersion }} {{- errorf "The Relearn theme requires Hugo %s or later" $hugoVersion }} {{- end }} {{- end }} {{- if .Site.Params.description }} {{- warnf "UNSUPPORTED usage of 'params.description' config parameter found, move it to the frontmatter of your home page; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#600" }} {{- end }}
{{- partial "meta.html" . }} {{- $page := . }} {{- $link := "" }} {{- $title := partial "pageHelper/title.hugo" (dict "page" . "fullyQualified" true "reverse" true) }}