aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/generate-feeds.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-08-17 04:24:42 -0400
committertdro <tdro@noreply.example.com>2022-08-17 04:24:42 -0400
commit0c354e0988ec4936b42b855d5b4d5e0b19f26a88 (patch)
tree730d959517d5d0c1b3983668430fd17a01599ddb /themes/default/layouts/partials/generate-feeds.html
parentfb0eafd272a6cee9b8f9e380cd028f4edde18298 (diff)
downloadcanory-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.html6
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")
)
-}}