diff --git a/layouts/partials/article-link.html b/layouts/partials/article-link.html index 7fc87859..c816a024 100644 --- a/layouts/partials/article-link.html +++ b/layouts/partials/article-link.html @@ -6,7 +6,7 @@ href="{{ . }}" target="_blank" rel="external" - >{{ $.Title }}{{ $.Title | emojify }} {{ .Title }}{{ .Title | emojify }} {{ end }} {{ if and .Draft .Site.Params.article.showDraftLabel }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index c3ce9fd9..3895ba3d 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 }} · {{ .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 | emojify) | safeHTML }} {{ end -}} {{/* Styles */}} {{ $schemeCSS := resources.Get (printf "css/schemes/%s.css" (.Site.Params.colorScheme | default "congo")) }}