{{- $page := .page }} {{- $content := .content }} {{- with $page }} {{- warnf "%q: DEPRECATED usage of old 'chapter' archetype found, remove 'chapter=true' and add 'archetype=\"chapter\"' to your frontmatter and remove the leading h3 and h1 headings; see https://mcshelby.github.io/hugo-theme-relearn/basics/migration#500" $page.File.Filename }}
{{- partial "content-header.html" . }}
{{ $content | safeHTML }}
{{- end }}