mirror of
https://git.adityakumar.xyz/hugo-theme-even.git
synced 2024-09-07 22:40:39 +00:00
fix(uglyurls): fix the path of tags in the case of uglyURLs = true. (#310)
This commit is contained in:
parent
fcf2021958
commit
564697987d
|
@ -45,7 +45,7 @@
|
|||
{{ with .Params.tags -}}
|
||||
<div class="post-tags">
|
||||
{{ range . -}}
|
||||
<a href="{{ "tags" | relLangURL }}/{{ . | urlize }}/">{{ . }}</a>
|
||||
<a href="{{ "tags" | relLangURL }}/{{ . | urlize }}{{ if $.Site.Params.uglyURLs }}.html{{ else }}/{{ end }}">{{ . }}</a>
|
||||
{{ end -}}
|
||||
</div>
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue