Skip to content

Commit

Permalink
Merge branch 'fix/toc-links-with-more-than-1-word' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrt-yeah committed Aug 13, 2021
2 parents 4c44454 + bc25c8a commit 2e5dcd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<h2>Table of Contents</h2>
<ul>
{{ range .Pages }}
<li><a href="#{{ lower .Title }}">{{ .Title }}</a></li>
<li><a href="#{{ .Title | lower | urlize }}">{{ .Title }}</a></li>
{{ end }}
</ul>
</nav>
Expand Down

0 comments on commit 2e5dcd8

Please sign in to comment.