Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/saey55/hugo-elate-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShyim <shyim@posteo.de>2018-04-29 19:19:42 +0300
committerGitHub <noreply@github.com>2018-04-29 19:19:42 +0300
commit5dba4f6db1e82973cf61428e4fbc599df3f3e8b6 (patch)
treeb1e6d1ac8fe8c14bac282294051f60b58aabeb6d
parentccc5bfa019276c1bba066c0a13b8881259c22910 (diff)
Fixed OG types
-rwxr-xr-xlayouts/partials/head.html12
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=""/>