Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/toryanderson/hugo-icarus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Holt <mholt@reallifechurch.org>2015-12-06 11:20:19 +0300
committerMichael Holt <mholt@reallifechurch.org>2015-12-06 11:20:19 +0300
commit4d86368dd78d03445b3b62b4d0a952b7a1679fa6 (patch)
treee1dd0c2a1ac503fd615ba766a50b2a2a61bc13f6 /exampleSite
parent690e3320aa8f237207b40fec3e828ab42c3b61d9 (diff)
Fixes to allow spaces in Categories and Tags
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/content/post/go-is-for-lovers.md2
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