diff options
author | Michael Holt <mholt@reallifechurch.org> | 2015-12-06 11:20:19 +0300 |
---|---|---|
committer | Michael Holt <mholt@reallifechurch.org> | 2015-12-06 11:20:19 +0300 |
commit | 4d86368dd78d03445b3b62b4d0a952b7a1679fa6 (patch) | |
tree | e1dd0c2a1ac503fd615ba766a50b2a2a61bc13f6 /exampleSite | |
parent | 690e3320aa8f237207b40fec3e828ab42c3b61d9 (diff) |
Fixes to allow spaces in Categories and Tags
Diffstat (limited to 'exampleSite')
-rw-r--r-- | exampleSite/content/post/go-is-for-lovers.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exampleSite/content/post/go-is-for-lovers.md b/exampleSite/content/post/go-is-for-lovers.md index f5cf0e4..a38deb5 100644 --- a/exampleSite/content/post/go-is-for-lovers.md +++ b/exampleSite/content/post/go-is-for-lovers.md @@ -231,7 +231,7 @@ instead of depending on the context. {{ $title := .Site.Title }} {{ range .Params.tags }} - <li> <a href="{{ $baseurl }}/tags/{{ . | urlize }}">{{ . }}</a> - {{ $title }} </li> + <li> <a href="{{ $baseurl }}/tags/{{ . | urlize | lower }}">{{ . }}</a> - {{ $title }} </li> {{ end }} Notice how once we have entered the loop the value of {{ . }} has changed. We |