{{- $format := partial "get-format.hugo" . }} {{- $outputFormat := partial "output-format.hugo" (dict "page" . "format" $format) }} {{- $basename := "index" }} {{- if eq $outputFormat "searchpage" }} {{- $basename = partial "BaseName.hugo" $format.RelPermalink }} {{- 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 }}
{{- partial "meta.html" . }} {{- $page := . }} {{- $link := "" }} {{- $title := partial "pageHelper/title.hugo" (dict "page" . "fullyQualified" true "reverse" true "format" $format "outputFormat" $outputFormat) }}