From 62144bb9817cdb0a7a388c16efb38c4cb473bee8 Mon Sep 17 00:00:00 2001 From: tdro Date: Sun, 4 Sep 2022 10:52:23 -0400 Subject: themes/default/layouts/partials/function-caches-images: Default to 404 if no source To a file that should not exist. --- themes/default/layouts/partials/function-caches-images.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 "/" -}} -- cgit v1.2.3