diff options
author | wires <wires@noreply.wires.systems> | 2025-03-31 13:46:45 -0400 |
---|---|---|
committer | wires <wires@noreply.wires.systems> | 2025-03-31 13:46:45 -0400 |
commit | dcee4fe4b15738c30eb3962ff6caa5db8845254c (patch) | |
tree | 65c28a0f175a266a2a105cb2a28d2ecbb74abbfe /layouts/_default/_markup/render-heading.html | |
parent | add deploy script (diff) | |
download | blog-dcee4fe4b15738c30eb3962ff6caa5db8845254c.tar.gz |
theme changes
Diffstat (limited to 'layouts/_default/_markup/render-heading.html')
-rw-r--r-- | layouts/_default/_markup/render-heading.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..d49699e --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1,3 @@ +<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class }} class="{{ . }}" {{- end }}> + <a href="#{{ .Anchor }}">{{ .Text }}</a> +</h{{ .Level }}> |