fix: wrong tags path
This commit is contained in:
@ -24,8 +24,8 @@
|
|||||||
<h2 class="panel-heading">{{ T "panel.trending_tags" }}</h2>
|
<h2 class="panel-heading">{{ T "panel.trending_tags" }}</h2>
|
||||||
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
|
<div class="d-flex flex-wrap mt-3 mb-1 me-3">
|
||||||
{{ range $trendingTags }}
|
{{ range $trendingTags }}
|
||||||
{{ $url := printf "/tags/%s/" (urlize .) }}
|
{{ $tag_path := printf "tags/%s/" (urlize .) }}
|
||||||
<a class="post-tag btn btn-outline-primary" href="{{ $url | relURL }}">{{ . }}</a>
|
<a class="post-tag btn btn-outline-primary" href="{{ $tag_path | absLangURL }}">{{ . }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
Reference in New Issue
Block a user