From d14dd837ec4077073ac3372cd77673c7d672d871 Mon Sep 17 00:00:00 2001
From: Alphonse Mariya <alphonse.mariya@hotmail.com>
Date: Sun, 26 Dec 2021 18:18:00 +0000
Subject: [PATCH] Use plural translation keys for taxonomies (#620)
---
layouts/partials/list.html | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/list.html b/layouts/partials/list.html
index 243e1af..72d3990 100644
--- a/layouts/partials/list.html
+++ b/layouts/partials/list.html
@@ -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>
--
Gitblit v1.10.0