I have the following in my data/assets.yml
:
js:
a:
version: <some version>
url: <url>
async: true
b:
version: <some version>
url: <url>
I want to filter down the $site.Data.assets.js
collection so that it only includes objects in which async
is true
.
Is it possible? Or am I required to change the format to:
js:
- name: bla bla bla
- version: ....
....