I’ve managed to get this working. Firstly, set the mount for theme assets directory in config.yml
# Set mount for theme assets directory
module:
mounts:
- source: /themes/godule/assets
target: assets
Then {{ $css := resources.Match "**/*.css" }} in the partial head.html returns an array of CSS files in the top level of the assets directory. Which is nice. Here’s a snapshot of where I’m at: