aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/generate-feeds.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/generate-feeds.html')
-rw-r--r--themes/default/layouts/partials/generate-feeds.html4
1 files 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