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

github.com/carsonip/hugo-theme-minos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/og.html2
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 }}" />