diff --git a/layouts/_partials/head/opengraph/provider/base.html b/layouts/_partials/head/opengraph/provider/base.html index 358a636..9fa2ab0 100644 --- a/layouts/_partials/head/opengraph/provider/base.html +++ b/layouts/_partials/head/opengraph/provider/base.html @@ -39,5 +39,5 @@ {{ $image := partial "helper/image" (dict "Image" .Params.image "Resources" .Resources "Context" .) }} {{- if $image -}} - + {{- end -}} \ No newline at end of file diff --git a/layouts/_partials/head/opengraph/provider/twitter.html b/layouts/_partials/head/opengraph/provider/twitter.html index 1d9b650..111d266 100644 --- a/layouts/_partials/head/opengraph/provider/twitter.html +++ b/layouts/_partials/head/opengraph/provider/twitter.html @@ -12,5 +12,5 @@ {{- $image := partial "helper/image" (dict "Image" .Params.image "Resources" .Resources "Context" .) -}} {{- if $image -}} - + {{- end -}} \ No newline at end of file diff --git a/layouts/rss.xml b/layouts/rss.xml index 6b65a08..1f13ac6 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -52,7 +52,7 @@ {{- end -}} {{- $image := partial "helper/image" (dict "Image" .Params.image "Resources" .Resources "Context" .) -}} {{- if $image -}} - {{- $imgTag := printf "\"Featured" ($image.permalink | absURL) .Title -}} + {{- $imgTag := printf "\"Featured" ($image.Permalink | absURL) .Title -}} {{- $content = printf "%s%s" $imgTag $content -}} {{- end -}} {{- $content | transform.XMLEscape | safeHTML -}}