I have a “music” folder in my main content directory, and I have a shortcode for embedding mp3s. I want to keep the mp3s in a subdirectory of the ‘music’ folder called ‘audio’.
content/
└── music/
├── song1.mp3
├── _index.en.md
├── _index.es.md
└── audio/
└── song2.mp3
In this example, the code .Page.Resources.GetMatch “song1.mp3” returns the proper result, but .Page.Resources.GetMatch “audio/song2.mp3” returns nil.
I want to keep the files in the audio subdir, not the root music folder. What am I doing wrong?