bunteshaus.de/themes/buha/layouts/_default/_markup/render-heading.html
2022-04-08 21:17:37 +02:00

11 lines
398 B
HTML

{{ if $.Page.OutputFormats.Get "RSS" }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}</h{{ .Level }}>
{{ else }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
{{ .Text | safeHTML }}
<a class="heading-anchor" href="{{ .Anchor }}" style="color: var(--text-muted); font-size: smaller;">
{{ "#" }}
</a>
</h{{ .Level }}>
{{ end }}