I’m making multiple API calls using the GetJSON function in my templates. To avoid hitting the rate limits of the API, I need to introduce a delay between the calls.
I’ve explored using the sleep function, but it seems that it’s not available in Hugo’s templating language.
Is there a recommended way or workaround to introduce a sleep or delay between API calls in Hugo templates? Any guidance or examples would be greatly appreciated.