From 2c8a5016b0310da24689eae27d404d6c13727161 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 12 Jul 2014 20:58:10 +0100 Subject: Hide title if it's the same as the site 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 ff21072..2e3d3a4 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,7 +2,7 @@ - {{ .Title }} · {{ .Site.Title }} + {{ if ne .Title .Site.Title }}{{ .Title }} · {{ end }}{{ .Site.Title }} -- cgit 1.4.1