diff options
author | v1ne <v1ne2go@gmail.com> | 2019-11-20 00:05:50 +0300 |
---|---|---|
committer | Carson Ip <carsonip@users.noreply.github.com> | 2019-11-29 18:04:51 +0300 |
commit | b87555512af1c6f2d29f937873451b0ac2c6d38a (patch) | |
tree | 9798f78fd80308afda5820c9db7bbf77fbc78538 | |
parent | a6c2a347f5cafc95b0f09e2926793864cd49a2c7 (diff) |
Open Graph: Honour site language
-rw-r--r-- | layouts/partials/og.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/og.html b/layouts/partials/og.html index 077740a..95fef9c 100644 --- a/layouts/partials/og.html +++ b/layouts/partials/og.html @@ -1,7 +1,7 @@ <meta property="og:title" content="{{ if .Params.ogtitle }}{{ .Params.ogtitle }}{{ else }}{{ .Title }}{{ end }}" /> <meta property="og:description" content="{{ if .Params.ogdescription }}{{ .Params.ogdescription }}{{ else }}{{ .Site.Params.Description }}{{ end }}" /> <meta property="og:type" content="website" /> - <meta property="og:locale" content="en_US" /> + <meta property="og:locale" content="{{ .Lang }}" /> <meta property="og:url" content="{{ .Permalink }}" /> {{ if .Params.ogimage }} <meta property="og:image" content="{{ .Params.ogimage }}" /> |