diff options
Diffstat (limited to 'layouts/_default/_markup/render-heading.html')
-rw-r--r-- | layouts/_default/_markup/render-heading.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html index 0beefd5..2867f4c 100644 --- a/layouts/_default/_markup/render-heading.html +++ b/layouts/_default/_markup/render-heading.html @@ -11,7 +11,7 @@ {{ $anchoredLinkLevels := seq 2 6 }} {{ if in $anchoredLinkLevels .Level }} - <h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ printf "<a class=\"anchor\" href=\"#%s\" title='%s \"%s\".'><svg aria-hidden=\"true\"><use xlink:href=\"#hashtag\"/></svg></a>" (.Anchor | safeURL) (T "anchorFor") (.Text | plainify | safeHTML) | safeHTML }} {{ .Text | safeHTML }}</h{{ .Level }}> + <h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ printf `<a class="anchor" href="#%s" title='%s "%s".'><svg aria-hidden="true"><use xlink:href="#hashtag"/></svg></a>` (.Anchor | safeURL) (T "anchorFor") (.Text | plainify | safeHTML) | safeHTML }} {{ .Text | safeHTML }}</h{{ .Level }}> {{ else }} <h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}</h{{ .Level }}> {{ end }} |