From: Jakub Kucharski Date: Sun, 3 Jul 2016 16:47:14 +0000 (+0200) Subject: Don't repeat title in tag on the home page X-Git-Url: http://njoseph.me/gitweb/hyde.git/commitdiff_plain/61243733ec7ce5f2f8fe938f6e6518f05f2e5dfa Don't repeat title in <title> tag on the home page --- 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 }}