diff options
1 files changed, 2 insertions, 2 deletions
| -rw-r--r-- | layouts/partials/header.html | 4 |
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 715808c..c847d77 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -9,12 +9,12 @@ {{- with $.Param "author" }} <meta name="author" content="{{ . }}"> {{- end }} -{{ .Hugo.Generator }} +{{ hugo.Generator }} <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="{{ "css/style.css" | relURL }}" type="text/css"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700" type="text/css"> <link rel="alternate" href="{{ "index.xml" | relURL }}" type="application/rss+xml" title="{{ .Site.Title }}"> -<title>{{ $isHomePage := eq .Title .Site.Title }}{{ .Title }}{{ if eq $isHomePage false }} - {{ .Site.Title }}{{ end }}</title> +<title>{{ with .Title }}{{.}} - {{ end }}{{ .Site.Title }}</title> </head> <body> |
