fix taxonomy with space #164
This commit is contained in:
parent
901df3239e
commit
9e6f53888e
@ -16,7 +16,7 @@
|
||||
{{ if .Params.categories }}
|
||||
<ul class="post-categories">
|
||||
{{ range $cat_name := .Params.categories }}
|
||||
{{ $cat := ($.Site.GetPage (printf "/categories/%s" $cat_name)) }}
|
||||
{{ $cat := ($.Site.GetPage (printf "/categories/%s" $cat_name | urlize )) }}
|
||||
<li><a href="{{ $cat.Permalink }}">{{ $cat.Title | default $cat_name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
@ -24,7 +24,7 @@
|
||||
{{ if .Params.tags }}
|
||||
<ul class="post-tags">
|
||||
{{ range $tag_name := .Params.tags }}
|
||||
{{ $tag := ($.Site.GetPage (printf "/tags/%s" $tag_name)) }}
|
||||
{{ $tag := ($.Site.GetPage (printf "/tags/%s" $tag_name | urlize )) }}
|
||||
<li><a href="{{ $tag.Permalink }}">#{{ $tag.Title | default $tag_name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
@ -32,7 +32,7 @@
|
||||
{{ if .Params.authors }}
|
||||
<ul class="post-authors">
|
||||
{{ range $author_name := .Params.authors }}
|
||||
{{ $author := ($.Site.GetPage (printf "/authors/%s" $author_name)) }}
|
||||
{{ $author := ($.Site.GetPage (printf "/authors/%s" $author_name | urlize )) }}
|
||||
<li><a href="{{ $author.Permalink }}">@{{ $author_name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
Loading…
Reference in New Issue
Block a user