diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d35f20f..3782f6a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,14 +2,14 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <!-- SEO --> -<title>{{ .Title }}</title> +<title>{{ if .IsPage }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> {{ with .Site.Params.author }}<meta name="author" content="{{ . }}" />{{ end }} {{ with .Site.Params.description }}<meta name="description" content="{{ . }}" />{{ end }} <meta name="robots" content="index, follow" /> <meta name="referrer" content="always" /> <!-- Social & Open Graph --> -<meta property="og:title" content="{{ .Title }}" /> +<meta property="og:title" content="{{ if .IsPage }}{{ .Title }} - {{ end }}{{ .Site.Title }}" /> {{ with .Site.Params.description }}<meta property="og:description" content="{{ . }}" />{{ end }} <meta property="og:url" content="{{ .Site.BaseURL }}" /> {{ with .Site.Params.shareImage }} |