mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-14 12:04:57 -04:00
Fixing the taxonomy example. Fixed #318.
This commit is contained in:
parent
e9150d0032
commit
f22a1127f3
@ -90,8 +90,8 @@ The following example displays all tag keys:
|
|||||||
### Example
|
### Example
|
||||||
|
|
||||||
<ul id="all-tags">
|
<ul id="all-tags">
|
||||||
{{ range .Site.Taxonomies.tags }}
|
{{ range $name, $taxonomy := .Site.Taxonomies.tags }}
|
||||||
<li><a href="/tags/{{ .Name | urlize }}">{{ .Name }}</a></li>
|
<li><a href="/tags/{{ $name | urlize }}">{{ $name }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user