Fixing the taxonomy example. Fixed #318.

This commit is contained in:
spf13 2014-08-29 23:39:55 -04:00
parent d3646aaac0
commit 6f9f93f34b

View file

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