diff options
author | wires <wires@noreply.wires.systems> | 2025-07-29 14:37:32 -0400 |
---|---|---|
committer | wires <wires@noreply.wires.systems> | 2025-07-29 14:37:32 -0400 |
commit | 54e4a732484c120d9f95fe3451da932859cf7473 (patch) | |
tree | 8eadbeaed6fbac095f602740f3abfc8b76a860fe /layouts/_markup/render-heading.html | |
parent | add draft reading list page (diff) | |
download | blog-54e4a732484c120d9f95fe3451da932859cf7473.tar.gz |
fix stuff for new version of hugo
Diffstat (limited to 'layouts/_markup/render-heading.html')
-rw-r--r-- | layouts/_markup/render-heading.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_markup/render-heading.html b/layouts/_markup/render-heading.html new file mode 100644 index 0000000..d49699e --- /dev/null +++ b/layouts/_markup/render-heading.html @@ -0,0 +1,3 @@ +<h{{ .Level }} id="{{ .Anchor }}" {{- with .Attributes.class }} class="{{ . }}" {{- end }}> + <a href="#{{ .Anchor }}">{{ .Text }}</a> +</h{{ .Level }}> |