Fix a few broken images

This commit is contained in:
David Eisinger
2024-02-05 10:13:03 -05:00
parent 55c1010ce2
commit 6de14d1255
5 changed files with 17 additions and 9 deletions

View File

@@ -0,0 +1,5 @@
{{ $file := printf "%s%s" .Page.RelPermalink (.Get 0) }}
{{ $geo := .Get 1 }}
{{ $img := resources.GetRemote (printf "%s%s?geo=%s" (getenv "DITHER_SERVER") $file $geo) }}
{{ $img.RelPermalink }}