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(-) 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 @@ <!-- Enable responsiveness on mobile devices--> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> - <title> {{ .Title }} · {{ .Site.Title }} + {{ if .IsHome }} + {{ .Site.Title }} + {{ else }} + {{ .Title }} · {{ .Site.Title }} + {{ end }} -- cgit v1.2.1-24-ge1ad