{{/* Use the title and description of the first page to begin the document */}} {{ $tpl := printf "print/page-heading-%s.html" .Page.Type }} {{ if templates.Exists (printf "partials/%s" $tpl) }} {{ partial $tpl . }} {{ else -}}

{{ .Title }}

{{ with .Page.Params.description }}
{{ . | markdownify }}
{{ end }} {{ end }}