vanilla-hugo/layouts/_default/_markup/render-heading.html

5 lines
156 B
HTML
Raw Normal View History

{{- .Page.Scratch.SetInMap "definedSections" (printf "#%s" .Anchor) true -}}
<h{{ .Level }} id="{{ .Anchor }}">
{{- .Text | safeHTML -}}
</h{{ .Level }}>