diff options
author | Shyim <shyim@posteo.de> | 2018-04-29 19:19:42 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-29 19:19:42 +0300 |
commit | 5dba4f6db1e82973cf61428e4fbc599df3f3e8b6 (patch) | |
tree | b1e6d1ac8fe8c14bac282294051f60b58aabeb6d | |
parent | ccc5bfa019276c1bba066c0a13b8881259c22910 (diff) |
Fixed OG types
-rwxr-xr-x | layouts/partials/head.html | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5a4a9d8..f9fb605 100755 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -33,16 +33,18 @@ <!-- Facebook and Twitter integration -->
{{ if not .Site.Params.OpenGraph.hide }}
- <meta name="og:site_name" content="{{ .Site.Title }}">
- <meta name="og:title" content="{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}">
- <meta name="og:url" content="{{ .Permalink }}">
- <meta name="og:image" content="{{ .Site.BaseURL }}images/{{ .Site.Params.sidebar.avatar }}">
+ <meta property="og:type" content="website" />
+ <meta property="og:site_name" content="{{ .Site.Title }}">
+ <meta property="og:title" content="{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }}{{ end }}">
+ <meta property="og:url" content="{{ .Permalink }}">
+ <meta property="og:image" content="{{ .Site.BaseURL }}images/{{ .Site.Params.sidebar.avatar }}">
<meta name="twitter:title" content="{{ .Site.Title }}" />
<meta name="twitter:url" content="{{ .Permalink }}" />
<meta name="twitter:image" content="{{ .Site.BaseURL }}images/{{ .Site.Params.sidebar.avatar }}" />
<meta name="twitter:card" content="" />
{{ end }}
-<!--
+<!--
+ <meta property="og:type" content="website" />
<meta property="og:title" content=""/>
<meta property="og:image" content=""/>
<meta property="og:url" content=""/>
|