hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 6f9f93f34ba71c28e8ad11c4384e22562e8f285d
parent d3646aaac0f7b5705682a3c57e5e236e51ad558f
Author: spf13 <steve.francia@gmail.com>
Date:   Fri, 29 Aug 2014 23:39:55 -0400

Fixing the taxonomy example. Fixed #318.

Diffstat:
Mdocs/content/taxonomies/displaying.md | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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 }}">{{ .Name }}</a></li>  
+      {{ range $name, $taxonomy := .Site.Taxonomies.tags }}
+        <li><a href="/tags/{{ $name | urlize }}">{{ $name }}</a></li>  
       {{ end }}
     </ul>