mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-24 00:03:10 +00:00
d2d7d808a0
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) }} |