From 6299d6dbb5789001ae9be40b74d653bb17b30087 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Mon, 29 Jan 2018 14:12:41 +0100 Subject: [PATCH] Update the imgproc shortcode --- layouts/shortcodes/imgproc.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/imgproc.html b/layouts/shortcodes/imgproc.html index f0ab4c8ea..1c42d4756 100644 --- a/layouts/shortcodes/imgproc.html +++ b/layouts/shortcodes/imgproc.html @@ -1,4 +1,4 @@ -{{ $original := .Page.Resources.GetByPrefix (.Get 0) }} +{{ $original := .Page.Resources.GetMatch (printf "%s*" (.Get 0)) }} {{ $command := .Get 1 }} {{ $options := .Get 2 }} {{ if eq $command "Fit"}}