aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/function-fetch-favicons.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/function-fetch-favicons.html')
-rw-r--r--themes/default/layouts/partials/function-fetch-favicons.html14
1 files changed, 8 insertions, 6 deletions
diff --git a/themes/default/layouts/partials/function-fetch-favicons.html b/themes/default/layouts/partials/function-fetch-favicons.html
index 1d52c7e..7f92a94 100644
--- a/themes/default/layouts/partials/function-fetch-favicons.html
+++ b/themes/default/layouts/partials/function-fetch-favicons.html
@@ -1,12 +1,14 @@
-{{- $source := .Source -}}
-{{- $infix := .Infix -}}
+{{- $source := .Source -}}
+{{- $infix := .Infix -}}
+{{- $pageContext := .Context -}}
{{- $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")
+ "Context" $pageContext
+ "Source" $source
+ "Fit" "160x160"
+ "Target" (print (partial "function-paths.html" "media") "/")
+ "Copy" (print (partial "function-paths.html" "media") "/favicon." $infix ".png")
)
-}}