diff options
author | tdro <tdro@noreply.example.com> | 2022-08-17 04:24:42 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-08-17 04:24:42 -0400 |
commit | 0c354e0988ec4936b42b855d5b4d5e0b19f26a88 (patch) | |
tree | 730d959517d5d0c1b3983668430fd17a01599ddb /themes/default/layouts/partials/generate-feeds.html | |
parent | fb0eafd272a6cee9b8f9e380cd028f4edde18298 (diff) | |
download | canory-0c354e0988ec4936b42b855d5b4d5e0b19f26a88.tar.gz canory-0c354e0988ec4936b42b855d5b4d5e0b19f26a88.tar.bz2 canory-0c354e0988ec4936b42b855d5b4d5e0b19f26a88.zip |
themes/default/layouts/partials/function-caches-images: Simplify
Use path base and generate webp format for fallback.
Diffstat (limited to 'themes/default/layouts/partials/generate-feeds.html')
-rw-r--r-- | themes/default/layouts/partials/generate-feeds.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/themes/default/layouts/partials/generate-feeds.html b/themes/default/layouts/partials/generate-feeds.html index a3cb7dc..7e6c56c 100644 --- a/themes/default/layouts/partials/generate-feeds.html +++ b/themes/default/layouts/partials/generate-feeds.html @@ -200,12 +200,10 @@ {{- $imageSource := partial "function-caches-images.html" (dict - "File" $domain - "Type" "png" "Source" $faviconDomain "Dimensions" "160x160" - "PrefixSource" (print (partial "function-paths.html" "media") "/") - "PrefixCopy" (print (partial "function-paths.html" "media") "/") + "Directory" (print (partial "function-paths.html" "media") "/") + "Copy" (print (partial "function-paths.html" "media") "/favicon." $domain ".png") ) -}} |