aboutsummaryrefslogtreecommitdiff
path: root/templates/base/opengraph.gohtml
diff options
context:
space:
mode:
Diffstat (limited to 'templates/base/opengraph.gohtml')
-rw-r--r--templates/base/opengraph.gohtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/opengraph.gohtml b/templates/base/opengraph.gohtml
index f51d561..02dd51e 100644
--- a/templates/base/opengraph.gohtml
+++ b/templates/base/opengraph.gohtml
@@ -4,7 +4,7 @@
<meta property="og:title" content="{{.Title}}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://{{.Domain}}{{.URL}}" />
- <meta property="og:image" content="https://{{.Domain}}{{.Image}}" />
+ <meta property="og:image" content="https://{{.Domain}}{{ getStaticPath .Image}}" />
<meta property="og:description" content="{{.Description}}" />
<meta property="og:local" content="fr_FR" />
<meta property="og:site_name" content="Architects Land" />
@@ -14,5 +14,5 @@
<meta property="twitter:url" content="https://{{.Domain}}{{.URL}}/" />
<meta name="twitter:title" content="{{.Title}}" />
<meta name="twitter:description" content="{{.Description}}" />
- <meta name="twitter:image" content="https://{{.Domain}}{{.Image}}" />
+ <meta name="twitter:image" content="https://{{.Domain}}{{getStaticPath .Image}}" />
{{end}}