feat(layout): add custom heading generation
This commit is contained in:
parent
768117165f
commit
fa2d060602
3
layouts/_default/_markup/render-heading.html
Normal file
3
layouts/_default/_markup/render-heading.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
||||||
|
<a href="#{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}</a>
|
||||||
|
</h{{ .Level }}>
|
Loading…
x
Reference in New Issue
Block a user