diff options
Diffstat (limited to 'layouts/partials/seo.html')
-rw-r--r-- | layouts/partials/seo.html | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/layouts/partials/seo.html b/layouts/partials/seo.html index 9b9a0e7..c2bc187 100644 --- a/layouts/partials/seo.html +++ b/layouts/partials/seo.html @@ -4,12 +4,8 @@ <meta property="article:published_time" content="{{ dateFormat "2006-01-02T15:04:05Z07:00" .Date }}" /> <meta property="article:modified_time" content="{{ dateFormat "2006-01-02T15:04:05Z07:00" .Lastmod }}" /> <meta property="og:updated_time" content="{{ dateFormat "2006-01-02T15:04:05Z07:00" .Lastmod }}" /> - -{{- with .Site.Params.title -}}<meta property="og:site_name" content="{{ . }}" />{{- end -}} +{{- with .Site.Title -}}<meta property="og:site_name" content="{{ . }}" />{{- end -}} {{- with .Params.locale -}}<meta property="og:locale" content="{{ . }}" />{{- end -}} - - - {{- if .IsHome -}} {{ with .Site.Params.feed.itunes_summary -}} <meta property="og:description" content="{{ . }}" /> @@ -25,7 +21,6 @@ <meta name="twitter:description" content="{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}" /> <meta itemprop="description" content="{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}"> {{- end -}} - {{ with .Site.Params.social.twitter }}<meta name="twitter:site" content="@{{ . }}"/>{{ end }} {{ with .Site.Params.social.twitter }}<meta name="twitter:creator" content="@{{ . }}"/>{{ end }} {{ with .Site.Params.social.twitter_domain }}<meta name="twitter:domain" content="{{ . }}"/>{{ end }} @@ -37,7 +32,6 @@ <meta property="og:type" content="website" /> {{ end }} <meta property="og:url" content="{{ .Permalink | relURL }}" /> - {{ with .Params.images }}{{ range first 1 . }} <meta name="twitter:card" content="summary_large_image" /> {{ if (eq (slicestr . 0 4) "http") }} @@ -50,9 +44,6 @@ <meta itemprop="image" content="{{ $.Site.BaseURL}}/{{ . }}" /> {{ end }} {{ end }}{{ end }} - - - <!-- Facebook Page Admin ID for Domain Insights --> {{ with .Site.Params.social.facebook_admin }} {{ range . }} |