Files
ermnvldmr.com/services/docs/themes/hextra/layouts/_markup/render-heading.html
T
deytenit 46a2f68342 refactor: Migrate to monorepo
BREAKING CHANGE: Complete structure overhaul
2026-01-24 23:28:36 +03:00

9 lines
323 B
HTML

<h{{ .Level }}>
{{- .Text | safeHTML -}}
{{- if gt .Level 1 -}}
<span class="hx:absolute hx:-mt-20" id="{{ .Anchor | safeURL }}"></span>
<a href="#{{ .Anchor | safeURL }}" class="subheading-anchor" aria-label="Permalink for this section"></a>
{{- end -}}
</h{{ .Level }}>
{{- /* Drop trailing newlines */ -}}