Don't repeat title in <title> tag on the home page
This commit is contained in:
parent
fff9d5b21f
commit
61243733ec
|
@ -8,7 +8,11 @@
|
||||||
<!-- Enable responsiveness on mobile devices-->
|
<!-- Enable responsiveness on mobile devices-->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
|
||||||
|
|
||||||
|
{{ if .IsHome }}
|
||||||
|
<title>{{ .Site.Title }}</title>
|
||||||
|
{{ else }}
|
||||||
<title>{{ .Title }} · {{ .Site.Title }}</title>
|
<title>{{ .Title }} · {{ .Site.Title }}</title>
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
<!-- CSS -->
|
<!-- CSS -->
|
||||||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
|
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/poole.css">
|
||||||
|
|
Loading…
Reference in New Issue