{{ $tpl := printf "print/content-%s.html" .Page.Type }} {{ if templates.Exists (printf "partials/%s" $tpl) }} {{ partial $tpl . }} {{ else -}} {{ $break := cond .DoPageBreak "page-break-before: always" "" -}}
{{ $break := cond .DoPageBreak "page-break-before: always" "" }}

{{ .PageNum }} - {{ .Page.Title }}

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