diff options
Diffstat (limited to 'themes/default/layouts/partials/function-fetch-favicons.html')
-rw-r--r-- | themes/default/layouts/partials/function-fetch-favicons.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/themes/default/layouts/partials/function-fetch-favicons.html b/themes/default/layouts/partials/function-fetch-favicons.html new file mode 100644 index 0000000..1d52c7e --- /dev/null +++ b/themes/default/layouts/partials/function-fetch-favicons.html @@ -0,0 +1,13 @@ +{{- $source := .Source -}} +{{- $infix := .Infix -}} + +{{- $output := partial "function-caches-images.html" + (dict + "Source" $source + "Fit" "160x160" + "Target" (print (partial "function-paths.html" "media") "/") + "Copy" (print (partial "function-paths.html" "media") "/favicon." $infix ".png") + ) +-}} + +{{- return $output -}} |