small fixes

This commit is contained in:
teldra 2022-04-08 21:35:01 +02:00
parent cc90458cdf
commit dd690b70b3
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
{{ $url := (printf "%s#%s" .Page.Permalink .Anchor) | safeURL }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
{{ .Text | safeHTML }}
<a class="heading-anchor" href="{{ $url }}" style="color: var(--text-muted); font-size: smaller;">
{{ "#" }}
<a class="heading-anchor" href="{{ $url }}">
{{ .Text | safeHTML }}
</a>
</h{{ .Level }}>