From 41df0128d69b344050ef12f2dcd884e635a3299f Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Tue, 31 May 2022 09:35:31 +0200 Subject: Add tagging support --- layouts/partials/title.html | 2 ++ 1 file changed, 2 insertions(+) (limited to 'layouts/partials/title.html') diff --git a/layouts/partials/title.html b/layouts/partials/title.html index 76cfb2f..b3754ba 100644 --- a/layouts/partials/title.html +++ b/layouts/partials/title.html @@ -1,5 +1,7 @@ {{- if or .IsHome (eq .Title site.Title) -}} {{- site.Title -}} +{{- else if and (eq .Kind "term") (eq .Data.Singular "tag") -}} + {{- with .Title }}{{ i18n "publications_tagged" . }} - {{ end }}{{ site.Title -}} {{- else -}} {{- with .Title }}{{ . }} - {{ end }}{{ site.Title -}} {{- end -}} -- cgit v1.2.3