💄 Add header anchor in post page. Close #35
This commit is contained in:
parent
726349a2e0
commit
588740f27b
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 }}">{{ .Text | safeHTML }}
|
||||
<a class="header-anchor" href="#{{ .Anchor | safeURL }}"></a>
|
||||
</h{{ .Level }}>
|
Loading…
Reference in New Issue
Block a user