Update postInfo.html
Fix wrong category links
This commit is contained in:
parent
d635585044
commit
f0969d9a3f
@ -11,7 +11,7 @@
|
|||||||
{{ if .Params.categories }}
|
{{ if .Params.categories }}
|
||||||
<ul class="post-categories">
|
<ul class="post-categories">
|
||||||
{{ range .Params.categories }}
|
{{ range .Params.categories }}
|
||||||
<li><a href="{{ "categories/" | absLangURL }}{{ . }}">{{ . }}</a></li>
|
<li><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}">{{ . }}</a></li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user