Created
June 19, 2016 06:04
-
-
Save revelt/3df759d8c5949698b356ec6d0e282fbe to your computer and use it in GitHub Desktop.
When your Hugo taxonomy term consists of multiple words, it will be shown with dashes. Here's how to restore spaces.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="/categories/{{ $name | urlize }}">{{ replace $name "-" " " }}</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment