fix: category should not print hash
This commit is contained in:
parent
bb8d4de6b1
commit
b8c6c7e23b
@ -17,7 +17,7 @@
|
||||
<ul class="post-categories">
|
||||
{{ range $cat_name := .Params.categories }}
|
||||
{{ $cat := ($.Site.GetPage (printf "/categories/%s" $cat_name)) }}
|
||||
<li><a href="{{ $cat.Permalink }}">#{{ $cat.Title | default $cat_name }}</a></li>
|
||||
<li><a href="{{ $cat.Permalink }}">{{ $cat.Title | default $cat_name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user