Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/eddiewebb/hugo-resume.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEddie Webb <ollitech@gmail.com>2021-09-09 03:25:50 +0300
committerEddie Webb <ollitech@gmail.com>2021-09-09 03:25:50 +0300
commitd3d300cadfeef01843ebf6773fa858008753812f (patch)
tree0abaebb03c6ce5425d35156c20ee75f029d34b16
parent23d9c87499874e5e103d1f243617c34f6b5ad611 (diff)
revert imgresize change
-rw-r--r--layouts/shortcodes/imgresize.html2
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" }}