Merge pull request #113 from iakunin/2021-11-07-wrong-categories-links
Fixing wrong categories links below the post
This commit is contained in:
commit
8e5381f812
@ -7,7 +7,7 @@
|
||||
{{ if .Params.date }}
|
||||
<div class="post-date dt-published">{{ .Params.date.Format $dateFormat }}</div>
|
||||
{{ end }}
|
||||
|
||||
|
||||
<a class="post-hidden-url u-url" href="{{ .Permalink }}">{{ .Permalink }}</a>
|
||||
<a href="{{ .Site.BaseURL }}" class="p-name p-author post-hidden-author h-card" rel="me">{{ .Params.author | default .Site.Params.author }}</a>
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
{{ if .Params.categories }}
|
||||
<ul class="post-categories">
|
||||
{{ range .Params.categories }}
|
||||
<li><a href="{{ "categories/" | urlize | absLangURL }}">{{ . }}</a></li>
|
||||
<li><a href="{{ "categories/" | absLangURL }}{{ . | urlize }}">{{ . }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user