bunteshaus.de/themes/buha/layouts/_default/_markup/render-heading.html
2022-04-11 15:46:02 +02:00

8 lines
252 B
HTML

{{ $url := (printf "%s#%s" .Page.Permalink .Anchor) | safeURL }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
<a class="no_underline" href="{{ $url }}">
{{ .Text | safeHTML }}
</a>
</h{{ .Level }}>