diff options
author | tdro <tdro@noreply.example.com> | 2022-07-20 10:07:50 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-07-20 10:07:50 -0400 |
commit | 4081c4018a8f91de9ecf203987958164aa721a92 (patch) | |
tree | a9bc9e329a5587bcc77be26d48750f2e3f560859 /themes/default | |
parent | f2c054a417791c626aa142ffdac6c4b37fe80343 (diff) | |
download | canory-4081c4018a8f91de9ecf203987958164aa721a92.tar.gz canory-4081c4018a8f91de9ecf203987958164aa721a92.tar.bz2 canory-4081c4018a8f91de9ecf203987958164aa721a92.zip |
themes/default/layouts/partials/generate-feeds: Revert last commit
Some feeds include images inside the link.
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/layouts/partials/generate-feeds.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/generate-feeds.html b/themes/default/layouts/partials/generate-feeds.html index 21bc216..4421ee8 100644 --- a/themes/default/layouts/partials/generate-feeds.html +++ b/themes/default/layouts/partials/generate-feeds.html @@ -137,7 +137,7 @@ {{- end -}} {{- /* Try to complete enclosure relative links. */ -}} - {{- if and $enclosure (not ($enclosure | urls.Parse).Host) -}} + {{- if not ($enclosure | urls.Parse).Host -}} {{- $enclosure = print "http://" $sourceDomain $link -}} {{- end -}} |