Don't repeat title in <title> tag on the home page

This commit is contained in:
Jakub Kucharski 2016-07-03 18:47:14 +02:00 committed by digitalcraftsman
parent fff9d5b21f
commit 61243733ec

View file

@ -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 }} &middot; {{ .Site.Title }} </title>
{{ if .IsHome }}
<title>{{ .Site.Title }}</title>
{{ else }}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
{{ end }}
<!-- CSS -->
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">