diff options
Diffstat (limited to 'layouts/partials/templates')
| -rw-r--r-- | layouts/partials/templates/opengraph.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index c94fd68..3b9fb36 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -1,6 +1,6 @@ <!-- Open Graph metadata --> <meta property="og:title" content="{{ .Title }}"> - <meta property="og:description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ replaceRE "\n" " " (.Summary | truncate 170) }}{{ else }}{{ with site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}"> + <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 }}"> {{- if .Params.cover.image -}} |
