JS array of images

I’m not using the javascript file yet, as I am trying to figure out how to use it using the shuffled partial (/themes/nta/layouts/partials/shuffled.html) - as this is simpler to see if the resource fetch is working.

It is not.

The images are stored in /assets/shuffle.

The partial is asking for them:

{{ range resources.Match "/shuffle/*" }}
  <img src="{{ .RelPermalink }}" width="{{ .Width }}" height="{{ .Height }}" alt="">
{{ end }}

And coming up empty.

I have included the shuffled.html partial in 404.html, so have a look at:

http://localhost:1313/404.html

to see what I mean.