diff options
author | saey55 <saey55@users.noreply.github.com> | 2018-10-17 20:19:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-17 20:19:17 +0300 |
commit | ff097ac3143b3e0840c2f2a55738971ace510d27 (patch) | |
tree | 9136a323ba9b66c912a8627ddaee8965bffc2255 | |
parent | 0efd1de1883a80e9546660bb7c5a879b22fb78b3 (diff) | |
parent | 5dba4f6db1e82973cf61428e4fbc599df3f3e8b6 (diff) |
Merge pull request #33 from shyim/patch-1
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=""/>
|