From f5d802b776ea6a47b413fe468f56ddb80d62f4f5 Mon Sep 17 00:00:00 2001 From: Yoni Date: Sun, 26 Sep 2021 07:38:55 +0300 Subject: [PATCH] Use absURL to construct image URLs --- layouts/_default/rss.xml | 12 ++++++------ layouts/_default/taxonomy.xml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 385a1f6..9ecab21 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -41,9 +41,9 @@ {{ .Summary | html }} {{ if .Site.Params.fullContents }}{{ .Content | html }}{{end}} {{ if .Params.author }}{{ .Params.author }}{{ else if .Site.Params.myname }}{{ .Site.Params.myname }}{{end}} - {{ if .Params.image }}featured image{{end}} - {{ if .Params.featured_image }}featured image{{end}} - {{ if .Params.meta_image }}meta image{{end}} + {{ if .Params.image }}featured image{{end}} + {{ if .Params.featured_image }}featured image{{end}} + {{ if .Params.meta_image }}meta image{{end}} {{ with .Params.tags }} {{ range . }} {{ with . }} @@ -81,9 +81,9 @@ {{ .Summary | html }} {{ if .Site.Params.fullContents }}{{ .Content | html }}{{end}} {{ if .Params.author }}{{ .Params.author }}{{ else if .Site.Params.myname }}{{ .Site.Params.myname }}{{end}} - {{ if .Params.image }}featured image{{end}} - {{ if .Params.featured_image }}featured image{{end}} - {{ if .Params.meta_image }}meta image{{end}} + {{ if .Params.image }}featured image{{end}} + {{ if .Params.featured_image }}featured image{{end}} + {{ if .Params.meta_image }}meta image{{end}} {{ with .Params.tags }} {{ range . }} {{ with . }} diff --git a/layouts/_default/taxonomy.xml b/layouts/_default/taxonomy.xml index dd107ad..2778c99 100644 --- a/layouts/_default/taxonomy.xml +++ b/layouts/_default/taxonomy.xml @@ -32,9 +32,9 @@ {{ .Summary | html }} {{ if .Site.Params.fullContents }}{{end}} {{ if .Params.author }}{{ .Params.author }}{{ else if .Site.Params.myname }}{{ .Site.Params.myname }}{{end}} - {{ if .Params.image }}featured image{{end}} - {{ if .Params.featured_image }}featured image{{end}} - {{ if .Params.meta_image }}meta image{{end}} + {{ if .Params.image }}featured image{{end}} + {{ if .Params.featured_image }}featured image{{end}} + {{ if .Params.meta_image }}meta image{{end}} {{ with .Params.tags }} {{ range . }} {{ with . }}