hugo-theme-relearn/layouts/partials/single-article.hugo

5 lines
No EOL
340 B
Text

{{- $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) }}