From 741fc9d22060f3e728aa0f82957291e0596a0be9 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 23 Aug 2020 15:58:27 +0530 Subject: [PATCH] layouts/head : fix duplicate title title - title --- 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 44343ae5..fbc6ee65 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,7 +2,7 @@ -{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }} +{{ if .IsHome }}{{else}}{{ if .Title }}{{ .Title }} - {{ end }}{{end}}{{ .Site.Title }} {{- if eq .Kind "page" }}