marcpabst / hugo-maps

MIT License
7 stars 2 forks source link

Get is not a method but has arguments with hugo version 0.112.5 #2

Open dims31 opened 1 year ago

dims31 commented 1 year ago

Hello,

When I try to build my site I encounter this error wish seems to be related to https://github.com/gohugoio/hugo/issues/10862 and https://github.com/nanxiaobei/hugo-paper/issues/166

Start building sites … hugo v0.112.5-48e33e10af2feb2a0e1c32d04880ed016619f2d8 windows/amd64 BuildDate=2023-05-29T07:27:36Z VendorInfo=gohugoio Built in 1270 ms Error: error building site: "C:\Users\dim\Desktop\tdm\content\_index.md:9:1": failed to render shortcode "map": failed to process shortcode: "C:\Users\dim\Desktop\tdm\layouts\shortcodes\map.html:4:18": execute of template failed: template: shortcodes/map.html:4:18: executing "shortcodes/map.html" at <site>: Get is not a method but has arguments

eyoelmeles commented 2 months ago

did you get any solution to it?

marcpabst commented 2 months ago

I‘m currently on leave, but can have a look once I’m back.On 8 Jul 2024, at 10:49, Eyoel Meles @.***> wrote: did you get any solution to it?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

GaelGuegan commented 1 month ago

hey, I just came across the same issue, and I think that a guy have forked your repo and fix it (don't checked myself); https://github.com/bruvduroiu/hugo-maps/commit/d062f0d9d60f8de31cc21464032ccb675bacdae7