diff options
author | tdro <tdro@noreply.example.com> | 2022-05-24 19:54:54 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-24 19:54:54 -0400 |
commit | e192ce624019e89fab1fd51b26242377a24adfe7 (patch) | |
tree | 5c53ba1adc9a7c9ae8293b7ab20682979de08fed /themes/default/layouts/_default/feeds.html | |
parent | fbf386ebd6a8a279a0dc0de3e19eb0c29cc41e71 (diff) | |
download | canory-e192ce624019e89fab1fd51b26242377a24adfe7.tar.gz canory-e192ce624019e89fab1fd51b26242377a24adfe7.tar.bz2 canory-e192ce624019e89fab1fd51b26242377a24adfe7.zip |
themes/default/layouts/_default/feeds: Fail more obviously
Diffstat (limited to 'themes/default/layouts/_default/feeds.html')
-rw-r--r-- | themes/default/layouts/_default/feeds.html | 6 |
1 files changed, 3 insertions, 3 deletions
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" -}} |