summaryrefslogtreecommitdiff
path: root/layouts/partials/toc.html
diff options
context:
space:
mode:
authorDaniel H <daniel.hugenroth@gmail.com>2021-08-03 06:08:23 +0100
committerGitHub <noreply@github.com>2021-08-03 10:38:23 +0530
commit81fcd8f9d416b536e929a32670df0bcdbe628276 (patch)
tree0c8f2030a60a6174ee5e2c5bd4856a7160334930 /layouts/partials/toc.html
parent747e2bb76028d73a122a965bf9cc0cdd257ce32f (diff)
Remove extraneous space in toc.html (#488)
Fixes errors in lower version of Hugo
Diffstat (limited to 'layouts/partials/toc.html')
-rw-r--r--layouts/partials/toc.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html
index 89b2b7c..42f7e61 100644
--- a/layouts/partials/toc.html
+++ b/layouts/partials/toc.html
@@ -68,7 +68,7 @@
{{- end -}}
{{- end }}
<li>
- <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify -}}">{{- $header | safeHTML -}}</a>
+ <a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify -}}">{{- $header | safeHTML -}}</a>
{{- else }}
<li>
<a href="#{{- $cleanedID -}}" aria-label="{{- $header | plainify -}}">{{- $header | safeHTML -}}</a>