Merge pull request #114 from iakunin/2021-11-07-taxonomy-backlink-bug
Fixing bug with wrong "goToAll" link on taxonomy page (tags, categories)
This commit is contained in:
commit
54317def91
@ -1,7 +1,7 @@
|
||||
{{ define "main" }}
|
||||
<h1>{{ i18n .Data.Singular | humanize }}: {{ .Title }}</h1>
|
||||
<div class="post-info">
|
||||
<a href="{{ (printf "%s/%s" .Site.LanguagePrefix .Data.Plural) | absLangURL }}">{{ i18n (printf "toAll%s" (.Data.Plural | humanize )) | humanize }}</a>
|
||||
<a href="{{ (print .Data.Plural "/") | relLangURL }}">{{ i18n (printf "toAll%s" (.Data.Plural | humanize )) | humanize }}</a>
|
||||
</div>
|
||||
{{ range .Paginator.Pages }}
|
||||
{{ partial "post-summary.html" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user