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,11 +1,11 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<h1>{{ i18n .Data.Singular | humanize }}: {{ .Title }}</h1>
|
<h1>{{ i18n .Data.Singular | humanize }}: {{ .Title }}</h1>
|
||||||
<div class="post-info">
|
<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>
|
</div>
|
||||||
{{ range .Paginator.Pages }}
|
{{ range .Paginator.Pages }}
|
||||||
{{ partial "post-summary.html" . }}
|
{{ partial "post-summary.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user