diff options
author | Eddie Webb <ollitech@gmail.com> | 2021-09-09 03:25:50 +0300 |
---|---|---|
committer | Eddie Webb <ollitech@gmail.com> | 2021-09-09 03:25:50 +0300 |
commit | d3d300cadfeef01843ebf6773fa858008753812f (patch) | |
tree | 0abaebb03c6ce5425d35156c20ee75f029d34b16 | |
parent | 23d9c87499874e5e103d1f243617c34f6b5ad611 (diff) |
revert imgresize change
-rw-r--r-- | layouts/shortcodes/imgresize.html | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/layouts/shortcodes/imgresize.html b/layouts/shortcodes/imgresize.html index a33e331..196c64b 100644 --- a/layouts/shortcodes/imgresize.html +++ b/layouts/shortcodes/imgresize.html @@ -1,6 +1,4 @@ {{ $original := .Page.Resources.GetMatch (.Get 0) }} -{{ $path := path.Join "content" $original.RelPermalink }} -{{ $imgAttributes := imageConfig $path }} {{ $options := .Get 1 }} {{ .Scratch.Set "image" ($original.Fit $options) }} {{ $image := .Scratch.Get "image" }} |