From e16cd2288ca487f3e6606424c23e4e23c63cc6e0 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Fri, 23 Jul 2021 23:59:28 +0200 Subject: [PATCH] Don't show title twice --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index cb821e6..2d465d8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -28,7 +28,7 @@ {{- with ($.Scratch.Get "Title") }} - {{ . }} - {{ $.Site.Title }} + {{ . }}{{- if ne . $.Site.Title }} - {{ $.Site.Title }}{{- end}} {{- end }} {{- with ($.Scratch.Get "Description") }}