aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-27 23:22:58 -0400
committertdro <tdro@noreply.example.com>2022-06-27 23:22:58 -0400
commitda474d74e545b077bd9c1f3249eba1efc57e3515 (patch)
tree9937405a34e66f3b66f4d7c53d6085cdce843888
parent282999d0d58736cadd61fd05b8bee190133f7b65 (diff)
downloadcanory-master.tar.gz
canory-master.tar.bz2
canory-master.zip
themes/default/layouts/_default/_markup/render-image: Use and not orHEADmaster
-rw-r--r--themes/default/layouts/_default/_markup/render-image.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/_default/_markup/render-image.html b/themes/default/layouts/_default/_markup/render-image.html
index 0cf1d5a..189ab5a 100644
--- a/themes/default/layouts/_default/_markup/render-image.html
+++ b/themes/default/layouts/_default/_markup/render-image.html
@@ -11,7 +11,7 @@
{{- $immutable := print ($relURL | humanize | urlize) "-" ($source | sha256 | truncate 8 "") -}}
{{- $fileCache := print (partial "function-paths-media.html") "/" $author "/" $immutable -}}
-{{- if not (or (fileExists (print "public/" $fileCache ".webp")) (fileExists (print "public/" $fileCache (path.Ext $source)))) -}}
+{{- if not (and (fileExists (print "public/" $fileCache ".webp")) (fileExists (print "public/" $fileCache (path.Ext $source)))) -}}
{{- with $remote := resources.GetRemote $source -}}
{{- with .Err -}}
{{- if fileExists $public -}}