aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2020-09-29 19:28:03 +0300
committerGitHub <[email protected]>2020-09-29 19:28:03 +0300
commit42ae96f26d642d41e010419c45699a4f4ba6d808 (patch)
tree689b989fb27076d5df4edb88eed2170f4c2ab390
parent476bd883addd5e6f08edb6e7bbc148af39bcad3c (diff)
downloadbootstrap-42ae96f26d642d41e010419c45699a4f4ba6d808.tar.xz
bootstrap-42ae96f26d642d41e010419c45699a4f4ba6d808.zip
Update social.html: use `article` when it's a page (#31775)
-rw-r--r--site/layouts/partials/social.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/site/layouts/partials/social.html b/site/layouts/partials/social.html
index 851ecdcc4..a63f6caee 100644
--- a/site/layouts/partials/social.html
+++ b/site/layouts/partials/social.html
@@ -10,7 +10,7 @@
<meta property="og:url" content="{{ .Permalink }}">
<meta property="og:title" content="{{ .Title | markdownify }}">
<meta property="og:description" content="{{ .Page.Params.description | default .Site.Params.description | markdownify }}">
-<meta property="og:type" content="website">
+<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
<meta property="og:image" content="{{ .Site.Params.social_image_path | absURL }}">
<meta property="og:image:type" content="image/png">
<meta property="og:image:width" content="1000">