Fix a few broken images
This commit is contained in:
5
themes/v2/layouts/shortcodes/dither_url.html
Normal file
5
themes/v2/layouts/shortcodes/dither_url.html
Normal 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 }}
|
||||
Reference in New Issue
Block a user