From d61ea9f694fe2ceaf22c22e5c98c1468712d652c Mon Sep 17 00:00:00 2001 From: Rishi Maharaj Date: Tue, 18 Jan 2022 16:24:15 -0800 Subject: [PATCH] :bug: add emojify on remaining .Title, .Site.Title, and metas --- layouts/partials/head.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index f6d38655..5b8d053a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,11 +7,11 @@ {{/* Title */}} {{ if .IsHome -}} - {{ .Site.Title }} - + {{ .Site.Title | emojify }} + {{- else -}} - {{ .Title | emojify }} · {{ .Site.Title }} - + {{ .Title | emojify }} · {{ .Site.Title | emojify }} + {{- end }} {{/* Metadata */}} {{ with .Params.Description -}} @@ -30,7 +30,7 @@ {{ end }} {{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} + {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML | emojify }} {{ end -}} {{/* Styles */}} {{ $schemeCSS := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "congo")) }}