mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
🎨 Move heading anchors to render hook
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }} <a class="heading-anchor" href="#{{ .Anchor | safeURL }}" aria-label="Anchor">#</a></h{{ .Level }}>
|
||||
@@ -7,7 +7,7 @@
|
||||
</div>
|
||||
</header>
|
||||
<section class="prose dark:prose-light">
|
||||
{{ partial "heading-anchor.html" .Content | emojify }}
|
||||
{{ .Content | emojify }}
|
||||
</section>
|
||||
<footer>
|
||||
{{ partialCached "author.html" . }}
|
||||
|
||||
Reference in New Issue
Block a user