When I use the latest version hugo-shortcode-gallery, hugo serve failed with:
Error: error building site: "D:\git\_BYYA-site\content.zh\docs\camera\index.md:5:1": failed to render shortcode "gallery": failed to process shortcode: "D:\git\_BYYA-site\themes\hugo-shortcode-gallery\layouts\shortcodes\gallery.html:114:35": execute of template failed: template: shortcodes/gallery.html:114:35: executing "shortcodes/gallery.html" at <images>: can't evaluate field AutoOrient in type interface {}
I accidentally deleted the hugo-shortcode-gallery old version I used before, and I can't compare them 🤡.
Hi there,
You need a newer version of Hugo. As you can read in the README, you need Hugo 0.121.2 or newer. This version adds the AutoOrient functionality.
OS: Windows 10 Hugo version: hugo v0.121.1-00b46fed8e47f7bb0a85d7cfc2d9f1356379b740+extended
Dude, I have some photos taken by phone camera and screenshot in
camera/camera/
, and I write this intocamera/index.md
:When I use the latest version
hugo-shortcode-gallery
,hugo serve
failed with:I accidentally deleted the
hugo-shortcode-gallery
old version I used before, and I can't compare them 🤡.