diff options
author | tdro <tdro@noreply.example.com> | 2022-11-21 20:33:39 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-11-21 20:33:39 -0500 |
commit | 5f42caffdda9a43b7a627d59102478ba564527c4 (patch) | |
tree | 95db53b05ec719365e3c93b4c018b0a41d1065ff /themes | |
parent | 0eaed616d03b8adaf8cdf5eb7416e12532799ec2 (diff) | |
download | canory-5f42caffdda9a43b7a627d59102478ba564527c4.tar.gz canory-5f42caffdda9a43b7a627d59102478ba564527c4.tar.bz2 canory-5f42caffdda9a43b7a627d59102478ba564527c4.zip |
themes/default/layouts/partials/function-generate-feeds: Try to seek author uri in atom
Should be safe
Diffstat (limited to 'themes')
-rw-r--r-- | themes/default/layouts/partials/function-generate-feeds.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/function-generate-feeds.html b/themes/default/layouts/partials/function-generate-feeds.html index 6d838ed..0caf08f 100644 --- a/themes/default/layouts/partials/function-generate-feeds.html +++ b/themes/default/layouts/partials/function-generate-feeds.html @@ -76,6 +76,12 @@ {{- $sourceLink = index (index . 0) "-href" -}} {{- end -}} + {{- with .author -}} + {{- if reflect.IsMap . -}} + {{- $sourceHome = .uri -}} + {{- end -}} + {{- end -}} + {{- with .subtitle -}} {{- if reflect.IsMap . -}} {{- $sourceDescription = index . "#text" -}} |