mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-23 21:53:09 +02:00
Fixing the taxonomy example. Fixed #318.
This commit is contained in:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user