projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3646aa
)
Fixing the taxonomy example. Fixed #318.
author
spf13
<steve.francia@gmail.com>
Sat, 30 Aug 2014 03:39:55 +0000
(23:39 -0400)
committer
spf13
<steve.francia@gmail.com>
Sat, 30 Aug 2014 03:39:55 +0000
(23:39 -0400)
docs/content/taxonomies/displaying.md
patch
|
blob
|
history
diff --git
a/docs/content/taxonomies/displaying.md
b/docs/content/taxonomies/displaying.md
index 3abe6bed2b3ed51df8a60bf1bdbe6dabdf701dcc..69d8bc41817d34c0a352841a6aea215512fe5d4d 100644
(file)
--- a/
docs/content/taxonomies/displaying.md
+++ b/
docs/content/taxonomies/displaying.md
@@
-90,8
+90,8
@@
The following example displays all tag keys:
### Example
<ul id="all-tags">
- {{ range .Site.Taxonomies.tags }}
- <li><a href="/tags/{{
.Name | urlize }}">{{ .N
ame }}</a></li>
+ {{ range
$name, $taxonomy :=
.Site.Taxonomies.tags }}
+ <li><a href="/tags/{{
$name | urlize }}">{{ $n
ame }}</a></li>
{{ end }}
</ul>