aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-09-04 10:52:23 -0400
committertdro <tdro@noreply.example.com>2022-09-04 10:52:23 -0400
commit62144bb9817cdb0a7a388c16efb38c4cb473bee8 (patch)
tree999feb11425c0c5a6f39fffa7171404497871ce1 /themes
parentf78d934110a8bed97068731496abda5ab5f1cea2 (diff)
downloadcanory-62144bb9817cdb0a7a388c16efb38c4cb473bee8.tar.gz
canory-62144bb9817cdb0a7a388c16efb38c4cb473bee8.tar.bz2
canory-62144bb9817cdb0a7a388c16efb38c4cb473bee8.zip
themes/default/layouts/partials/function-caches-images: Default to 404 if no source
To a file that should not exist.
Diffstat (limited to 'themes')
-rw-r--r--themes/default/layouts/partials/function-caches-images.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/function-caches-images.html b/themes/default/layouts/partials/function-caches-images.html
index 64e72a1..768c7e9 100644
--- a/themes/default/layouts/partials/function-caches-images.html
+++ b/themes/default/layouts/partials/function-caches-images.html
@@ -1,5 +1,5 @@
{{- $data := dict -}}
-{{- $source := .Source -}}
+{{- $source := or .Source "nil" -}}
{{- $fit := .Fit -}}
{{- $resize := .Resize -}}
{{- $target := or .Target "/" -}}