From 60972794f6854b0a3a4a6f73ebc0854be2c9bb6d Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 4 Oct 2022 22:18:51 -0400 Subject: themes/default/layouts/partials/generate-feeds: Pass source description --- themes/default/layouts/partials/generate-feeds.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/default/layouts/partials/generate-feeds.html b/themes/default/layouts/partials/generate-feeds.html index 1cdc998..e346174 100644 --- a/themes/default/layouts/partials/generate-feeds.html +++ b/themes/default/layouts/partials/generate-feeds.html @@ -20,7 +20,7 @@ {{- $enclosure := "" -}} {{- $imageLink := "" -}} {{- $link := "https://example.com/link/" -}} - {{- $sourceDescription := "No source description found." -}} + {{- $sourceDescription := "" -}} {{- $sourceHome := "" -}} {{- $sourceLink := "https://example.com/rss/" -}} {{- $sourceTitle := "No source title found" -}} @@ -228,7 +228,7 @@ "author" $author.user "content" $content "date" .FeedDateTime - "description" .FeedSourceTitle + "description" (or .FeedSourceDescription .FeedSourceTitle "No source description found.") "domain" .FeedSourceDomain "enclosure" .FeedEnclosure "image" $imageSource.RelPermalink -- cgit v1.2.3