From 9e524ff754b0abfb2887f448a52c2c2cf3bc6f47 Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Wed, 7 Oct 2020 22:27:47 +0300 Subject: [PATCH] Fix title on the index page --- 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 93b3731..a1d5e47 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,7 +4,7 @@ -{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }} +{{ if and (.Title) (not .IsHome) }}{{ .Title }} - {{ end }}{{ .Site.Title }} {{ with .OutputFormats.Get "rss" -}}