{{- block "storeOutputFormat" . }}{{ end }} {{- if .IsHome }} {{- $hugoVersion := "0.126.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" . }} {{- $title := partial "title.gotmpl" (dict "page" . "fullyQualified" true "reverse" true) }} {{ $title }} {{- /* multilingual stuff */}} {{- if .IsTranslated -}} {{- range $index, $trans := .AllTranslations }} {{- if eq $index 0 }} {{- end }} {{- end }} {{- end }} {{- /* output formats */}} {{- $page := . }} {{- $link := "" }} {{- range .AlternativeOutputFormats }} {{- if eq .Rel "canonical" }} {{ (printf $link (partial "permalink.gotmpl" (dict "to" . "abs" true)) .Rel .MediaType.Type ($title | htmlEscape)) | safeHTML }} {{- else if not (partial "_relearn/pageIsSpecial.gotmpl" $page) }} {{ (printf $link (partial "permalink.gotmpl" (dict "to" .)) .Rel .MediaType.Type ($title | htmlEscape)) | safeHTML }} {{- end }} {{- end }} {{- partialCached "favicon.html" . }} {{- partial "stylesheet.html" . }} {{- partial "dependencies.html" (dict "page" . "location" "header") }} {{- partial "custom-header.html" . }}
{{- block "body" . }}{{ end }}
{{- partial "custom-comments.html" . }}
{{- block "menu" . }}{{ end }} {{- $assetBusting := partialCached "_relearn/assetbusting.gotmpl" . }} {{- partial "dependencies.html" (dict "page" . "location" "footer") }} {{- partial "custom-footer.html" . }}