forked from drowl87/hextra_mirror

fix: hide lang switch if site is not multilingual docs: update getting started page fix: ordered list style chore: update hugo icon feat: add icon shortcode page docs: add markdown and configuration pages docs: add diagrams page docs: add more content fix: mermaid background and add image styling chore: update templates chore: update hugo stats
9 lines
317 B
HTML
9 lines
317 B
HTML
<h{{ .Level }}>
|
|
{{- .Text | safeHTML -}}
|
|
{{- if gt .Level 1 -}}
|
|
<span class="absolute -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 */ -}}
|