From 5a77deedc9267748adf0406d92bcc5fad4618b94 Mon Sep 17 00:00:00 2001 From: Emiliano Tortorella Date: Tue, 20 Nov 2018 17:56:55 -0400 Subject: [PATCH] fix tag to uppercase on taxonomy page. --- layouts/partials/site-header.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/layouts/partials/site-header.html b/layouts/partials/site-header.html index 10a682f..9fd3b5d 100755 --- a/layouts/partials/site-header.html +++ b/layouts/partials/site-header.html @@ -7,7 +7,12 @@ {{ partial "site-navigation.html" .}}

- {{ .Title | default .Site.Title }} + {{/* Determinate if is a taxonomy page so put the tag is in uppercase on the title */}} + {{ if .Data.Singular }} + {{ .Title | default .Site.Title | upper }} + {{ else }} + {{ .Title | default .Site.Title }} + {{ end }}

{{ with .Params.description }}