Forked and making some changes to better support how I'm using page resources in a Hugo Page bundle.
Usage { {< foldergallery src="imgs" >} } I changed this to;
{ {< foldergallery src="." >} } Which picks up all the files in my leaf page bundle including index.md
I want to change the "imgs" in the shortcode to something like;
{{ with .Resources.ByType "image" }}