{{- /* A file with a frontmatter title starts its sections at `#`; the title is the page's one h1, so each heading moves down a level. */ -}} {{- $level := cond (.Page.Params.shift | default false) (math.Min 6 (add .Level 1)) .Level -}} {{ .Text }}# {{- /**/ -}}