forked from Bunteshaus/bunteshaus.de
8 lines
254 B
HTML
8 lines
254 B
HTML
{{ $url := (printf "%s#%s" .Page.Permalink .Anchor) | safeURL }}
|
|
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
|
|
|
<a class="heading-anchor" href="{{ $url }}">
|
|
{{ .Text | safeHTML }}
|
|
</a>
|
|
</h{{ .Level }}>
|