{{- $id := .Anchor | safeURL -}} {{- $text := .Text | safeHTML -}} {{ $text }} {{- if and (ge .Level .Page.Site.Params.anchors.min) (le .Level .Page.Site.Params.anchors.max) }}{{" " -}} {{- end -}}