summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/baseof.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 2f6c1ab..899ff33 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -21,12 +21,12 @@
{{- $imageUrl := default "logo.png" .Params.image }}
{{- $image := resources.Get $imageUrl }}
<meta property="og:image" content="{{ $image.Permalink }}" />
- <meta property="og:description" content="{{ .Page.Summary }}" />
+ <meta property="og:description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}"/>
<meta name="twitter:title" content="{{ .Page.Title }}">
<meta name="twitter:image" content="{{ $image.Permalink }}">
<meta name="twitter:card" content="summary_large_image">
- <meta name="twitter:description" content="{{ .Page.Summary }}" />
+ <meta name="twitter:description" content="{{ .Params.Abstract | default .Site.Params.DefaultDescription}}" />
<link rel="canonical" href="{{ .Permalink }}">
<link rel='alternate' type='application/rss+xml' title="{{ .Site.Title }} RSS" href='/index.xml'>