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:
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