summaryrefslogtreecommitdiff
path: root/layouts/blog/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/blog/baseof.html')
-rw-r--r--layouts/blog/baseof.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/layouts/blog/baseof.html b/layouts/blog/baseof.html
index 37d34bf..49c7253 100644
--- a/layouts/blog/baseof.html
+++ b/layouts/blog/baseof.html
@@ -25,7 +25,12 @@
<meta property="og:title" content="{{ .Page.Title }}">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ .Permalink }}">
- <meta property="og:image" content="{{ $header_rect.Permalink }}">
+
+ {{- $imageUrl := default "blog/logo/right.png" .Params.image }}
+ {{- $image := resources.Get $imageUrl }}
+ <meta property="og:image" content="{{ $image.Permalink }}">
+
+
<meta property="og:description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}">
<link rel="canonical" href="{{ .Permalink }}">