From e192ce624019e89fab1fd51b26242377a24adfe7 Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 24 May 2022 19:54:54 -0400 Subject: themes/default/layouts/_default/feeds: Fail more obviously --- themes/default/layouts/_default/feeds.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'themes/default/layouts/_default/feeds.html') diff --git a/themes/default/layouts/_default/feeds.html b/themes/default/layouts/_default/feeds.html index e4c1405..02201fb 100644 --- a/themes/default/layouts/_default/feeds.html +++ b/themes/default/layouts/_default/feeds.html @@ -46,13 +46,13 @@ {{ with resources.GetRemote . | transform.Unmarshal -}} - {{- $title := "Example Domain" -}} + {{- $title := "No Title Found" -}} {{- $link := "https://example.com/link" -}} {{- $description := "No description found." -}} {{- $content := "No content found." -}} - {{- $sourceTitle := "From Example Domain" -}} + {{- $sourceTitle := "No source title found" -}} {{- $sourceLink := "https://example.com/" -}} - {{- $sourceDescription := "The example domain." -}} + {{- $sourceDescription := "No source description found." -}} {{- $date := now.Format "January 2, 2006" -}} {{- $dateTime := now.Format "2006-01-02T15:04:05Z" -}} {{- $dateTitle := now.Format "Monday, January 2 2006 at 15:04:05 MST" -}} -- cgit v1.2.3