Merge pull request #55 from rayjolt/og-url

Fix og:url meta tag for multilingual sites
This commit is contained in:
Michael Romero 2017-04-29 09:16:19 -07:00 committed by GitHub
commit 978060b661

View File

@ -30,7 +30,7 @@
{{- with .Site.Params.fb_app_id }} {{- with .Site.Params.fb_app_id }}
<meta property="fb:app_id" content="{{ . }}" /> <meta property="fb:app_id" content="{{ . }}" />
{{- end }} {{- end }}
<meta property="og:url" content="{{ .URL | absURL }}" /> <meta property="og:url" content="{{ .URL | absLangURL }}" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:site_name" content="{{ .Site.Title }}" /> <meta property="og:site_name" content="{{ .Site.Title }}" />
<!-- Hugo Version number --> <!-- Hugo Version number -->