aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/_markup/render-image.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-24 03:57:33 -0400
committertdro <tdro@noreply.example.com>2022-06-24 03:57:33 -0400
commit967726d135c19b3472dd2a77d08447f1cdfcd6e9 (patch)
tree738e208327eb0897521229989bc5c7f1640d62dd /themes/default/layouts/_default/_markup/render-image.html
parentd8835677c49292d9186003df777ece0670ba742e (diff)
downloadcanory-967726d135c19b3472dd2a77d08447f1cdfcd6e9.tar.gz
canory-967726d135c19b3472dd2a77d08447f1cdfcd6e9.tar.bz2
canory-967726d135c19b3472dd2a77d08447f1cdfcd6e9.zip
themes/default/layouts/_default/_markup/render-image: Immutable relative URL
Diffstat (limited to 'themes/default/layouts/_default/_markup/render-image.html')
-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 8f03de5..cb6fea9 100644
--- a/themes/default/layouts/_default/_markup/render-image.html
+++ b/themes/default/layouts/_default/_markup/render-image.html
@@ -6,7 +6,7 @@
{{- $height := "" -}}
{{- $cache := "" -}}
{{- $dimensions := "600x360" -}}
-{{- $immutable := print (.Page.Permalink | humanize | urlize) "-" ($source | sha256 | truncate 8 "") -}}
+{{- $immutable := print (.Page.Permalink | relURL | humanize | urlize) "-" ($source | sha256 | truncate 8 "") -}}
{{- with $remote -}}
{{- with .Err -}}