Fixed double titles on homepage
This commit is contained in:
parent
bc8adbe63d
commit
e210135092
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<title>{{ if .Title }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
|
||||||
<!-- Meta -->
|
<!-- Meta -->
|
||||||
{{- if eq .Kind "page" }}
|
{{- if eq .Kind "page" }}
|
||||||
<meta name="description" content="{{ .Summary }}">
|
<meta name="description" content="{{ .Summary }}">
|
||||||
|
|
Loading…
Reference in a new issue