diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index ca745ee1..90b91d28 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -4,11 +4,11 @@ {{- end }} -{{- with or .Title site.Title site.Params.title | plainify}} +{{- with or .Title site.Title site.Params.title | plainify }} {{- end }} -{{- with or .Description .Summary site.Params.description | plainify }} +{{- with or .Description .Summary site.Params.description | plainify | htmlUnescape | chomp }} {{- end }} @@ -18,7 +18,9 @@ {{- if .IsPage }} - + {{- with .Section }} + + {{- end }} {{- $ISO8601 := "2006-01-02T15:04:05-07:00" }} {{- with .PublishDate }}