mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-10-27 10:43:19 +00:00
![Sören Weber](/assets/img/avatar_default.png)
because achretypes caching was unreliable when the whole page was used; Hugo bug or is it just me?
9 lines
No EOL
863 B
Text
9 lines
No EOL
863 B
Text
{{- partialCached "page-meta.hugo" . .RelPermalink }}
|
|
{{- $outputFormat := partial "output-format.hugo" . }}
|
|
{{- partial "output-partial.hugo" (dict "base" "header" "page" . "parameter" . "outputFormat" $outputFormat) }}
|
|
{{- if not .File }}
|
|
{{- partial "output-partial.hugo" (dict "base" "body" "page" . "parameter" (dict "page" . "content" (partial "output-partial.hugo" (dict "base" "initial" "page" . "parameter" . "outputFormat" $outputFormat))) "outputFormat" $outputFormat) }}
|
|
{{- else }}
|
|
{{- partial "output-partial.hugo" (dict "base" "body" "page" . "parameter" (dict "page" . "content" (partial "output-partial.hugo" (dict "base" "content" "page" . "parameter" . "outputFormat" $outputFormat))) "outputFormat" $outputFormat) }}
|
|
{{- end }}
|
|
{{- partial "output-partial.hugo" (dict "base" "footer" "page" . "parameter" . "outputFormat" $outputFormat) }} |