Files
vanilla-hugo/layouts/_default/_markup/render-heading.html
2024-06-23 13:52:43 -07:00

5 lines
156 B
HTML

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