summaryrefslogtreecommitdiffstats
path: root/layouts/partials/templates/opengraph.html
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-05-25 00:01:42 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-05-25 00:01:42 +0200
commitabe3b6761139a97ce535486af2f6918f2a8c0051 (patch)
tree0619acb48c28dd9d29110eee6841f5912bff8d35 /layouts/partials/templates/opengraph.html
parentcd9b95683a8ec2c2ef86863c61025ae8a6fc4222 (diff)
downloadgohugo-theme-ed-abe3b6761139a97ce535486af2f6918f2a8c0051.tar.gz
Add ability to create twitter cards
Diffstat (limited to 'layouts/partials/templates/opengraph.html')
-rw-r--r--layouts/partials/templates/opengraph.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html
index fbee957..c65cdac 100644
--- a/layouts/partials/templates/opengraph.html
+++ b/layouts/partials/templates/opengraph.html
@@ -1,5 +1,5 @@
<!-- Open Graph metadata -->
- <meta property="og:title" content="{{ .Title }}">
+ <meta property="og:title" content="{{ partial "title.html" . }}">
<meta property="og:description" content="{{ (partial "description.html" . ) }}">
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
<meta property="og:url" content="{{ .Permalink }}">