From 61243733ec7ce5f2f8fe938f6e6518f05f2e5dfa Mon Sep 17 00:00:00 2001
From: Jakub Kucharski
Date: Sun, 3 Jul 2016 18:47:14 +0200
Subject: Don't repeat title in
tag on the home page
---
layouts/partials/head.html | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
(limited to 'layouts/partials')
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 23767d6..07e383a 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -8,7 +8,11 @@
- {{ .Title }} · {{ .Site.Title }}
+ {{ if .IsHome }}
+ {{ .Site.Title }}
+ {{ else }}
+ {{ .Title }} · {{ .Site.Title }}
+ {{ end }}
--
cgit 1.4.1