bcarlin.net/layouts/_markup/render-heading.html

7 lines
250 B
HTML
Raw Permalink Normal View History

2025-06-17 01:35:34 +02:00
<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class }} class="{{ . }}" {{- end }}>
{{ .Text }}
<a href="#{{ .Anchor }}">
2025-06-20 02:33:45 +02:00
{{- partial "icon.html" (dict "icon" "links-line" "label" (T "permalink_section")) -}}
2025-06-17 01:35:34 +02:00
</a>
</h{{ .Level }}>