culinary.kemonine.info/themes/hugo-theme-relearn/layouts/partials/single-article.hugo
2022-12-03 10:27:03 -05:00

5 lines
340 B
Plaintext

{{- $page := .page }}
{{- $content := .content }}
{{- $outputFormat := .outputFormat }}
{{- $page.Page.Store.Set (printf "%sIsNested" $outputFormat) false }}
{{- partial "output-partial.hugo" (dict "base" "article" "page" $page "parameter" (dict "page" $page "content" $content "outputFormat" $outputFormat) "outputFormat" $outputFormat) }}