Is there a way to list all partials so that I can loop through them? I’m not too familiar with using ruby documentation to achieve this.
Basically I have partials in folders, say /source/“type of partial”/_variations.erb
the type is basically the path of the partial, then I want to take all the variations and call them in a template file. So in the end I would have a built html file with all of one type of partial, one after the other.
I would just use the sitemap but partials don’t show up in the sitemap. It would be cool to be able to also pull all the variables or other things.
Thanks!