diff options
author | tdro <tdro@noreply.example.com> | 2022-11-21 19:45:54 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-11-21 19:45:54 -0500 |
commit | 0eaed616d03b8adaf8cdf5eb7416e12532799ec2 (patch) | |
tree | 0720ee7edbfadf37b97a949dc70a809ae2644c3b /themes | |
parent | 964b79a957e9d0f193625940acbb10a8863d79b8 (diff) | |
download | canory-0eaed616d03b8adaf8cdf5eb7416e12532799ec2.tar.gz canory-0eaed616d03b8adaf8cdf5eb7416e12532799ec2.tar.bz2 canory-0eaed616d03b8adaf8cdf5eb7416e12532799ec2.zip |
themes/default/layouts/partials/function-generate-feeds: Set first link as source home
Might be able to simplify generation logic by looking into the link slices
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/layouts/partials/function-generate-feeds.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/function-generate-feeds.html b/themes/default/layouts/partials/function-generate-feeds.html index 87560fe..6d838ed 100644 --- a/themes/default/layouts/partials/function-generate-feeds.html +++ b/themes/default/layouts/partials/function-generate-feeds.html @@ -37,6 +37,7 @@ {{- $sourceHome = index (last 1 .link) 0 -}} {{- else -}} {{- $sourceLink = index .link 0 -}} + {{- $sourceHome = index .link 0 -}} {{- end -}} {{- else -}} {{- $sourceLink = .link -}} |