small fixes
This commit is contained in:
parent
a53a2bc095
commit
debd457538
|
@ -64,7 +64,7 @@ featured = 'featured'
|
|||
nonprofit = true
|
||||
|
||||
[outputs]
|
||||
home = ["HTML"]
|
||||
home = ["HTML", "RSS"]
|
||||
section = ["HTML", "RSS"]
|
||||
page = ["HTML"]
|
||||
taxonomy = ["HTML", "RSS"]
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
{{- $baseurl := .Page.Permalink | safeURL -}}
|
||||
{{- $url := printf "%s#%s" $baseurl .Anchor -}}
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
||||
{{ .Text | safeHTML }}
|
||||
<a class="heading-anchor" href="#{{ .Anchor | safeURL }}" style="color: var(--text-muted); font-size: smaller;">
|
||||
<a class="heading-anchor" href="{{ $url }}" style="color: var(--text-muted); font-size: smaller;">
|
||||
{{ "#" }}
|
||||
</a>
|
||||
</h{{ .Level }}>
|
||||
|
|
Loading…
Reference in New Issue
Block a user