Use plural translation keys for taxonomies (#620)

This commit is contained in:
Alphonse Mariya
2021-12-26 19:18:00 +01:00
committed by GitHub
parent 0b430ece67
commit d14dd837ec
33 changed files with 229 additions and 263 deletions

View File

@@ -2,10 +2,9 @@
<h1 class="title">
<a class="title-link" href="{{ .Permalink | safeURL }}">
{{- if eq .Kind "term" -}}
{{- i18n .Data.Singular | title -}}
{{- i18n .Data.Plural 1 | title -}}
{{- print ": " -}}
{{- end -}}
{{- i18n (lower .Title) | default .Title | title -}}
</a>
</h1>