mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 00:16:45 +00:00
Correctly escape multi-word taxonomy terms in example
This commit is contained in:
1 parent
2dfeeda45e
commit
7cff379f58
1 file changed
+1
-1
@@ -238,7 +238,7 @@ Because we are leveraging the front matter system to define taxonomies for conte
|
|||||||
<ul id="{{ $taxo }}">
|
<ul id="{{ $taxo }}">
|
||||||
{{ range .Param $taxo }}
|
{{ range .Param $taxo }}
|
||||||
{{ $name := . }}
|
{{ $name := . }}
|
||||||
{{ with $.Site.GetPage (printf "/%s/%s" $taxo $name) }}
|
{{ with $.Site.GetPage (printf "/%s/%s" $taxo ($name | urlize)) }}
|
||||||
<li><a href="{{ .Permalink }}">{{ $name }}</a></li>
|
<li><a href="{{ .Permalink }}">{{ $name }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user