From aed63c6f967c43c1337fb2df850f37f715b7ed7f Mon Sep 17 00:00:00 2001
From: Martin Hellspong <martin.hellspong@factor10.com>
Date: Thu, 05 Jan 2023 12:21:07 +0000
Subject: [PATCH] Add custom title / translation of authors (#756)
---
layouts/posts/single.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 38fd3b9..655cf95 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -25,7 +25,7 @@
{{ i18n "reading_time" .ReadingTime }}
</span>
</div>
- {{ with .Page.Params.Authors }}{{ partial "taxonomy/authors.html" . }}{{ end }}
+ {{ with .GetTerms "authors" }}{{ partial "taxonomy/authors.html" . }}{{ end }}
{{ with .Page.Params.Categories }}{{ partial "taxonomy/categories.html" . }}{{ end }}
{{ with .GetTerms "tags" }}{{ partial "taxonomy/tags.html" . }}{{ end }}
</div>
--
Gitblit v1.10.0