Skip to content

Commit

Permalink
Remove extraneous space in toc.html (#488)
Browse files Browse the repository at this point in the history
Fixes errors in lower version of Hugo
  • Loading branch information
lambdapioneer authored Aug 3, 2021
1 parent 747e2bb commit 81fcd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 81fcd8f

Please sign in to comment.