taxonomy
Hi, I have a taxonomy question. The basic premise is that I have 2 folders: Artists and Songs. I have a taxonomy called ‘artists’ and set that for both the artist page and then any song by that artist in the songs folder.
On the ‘artist’ page I want to pull any song that is tagged with that Artist into the page.
I was thinking something like this (which works):
{% for post in taxonomy.findTaxonomy({'artist':'Foo Fighters'}) %}
<li>{{ post.title }}</li>
{% endfor %}
This works but I don’t want it hard coded so I was thinking something like:
{'artist':'page.taxonomy.artist'}
Where I tag the ‘artist’ page with the same artist taxonomy as the songs.
But this doesn’t work.
Can someone suggest a) either what will work or b) a way better way of approaching this problem.
Thanks
Ok I answered my own question with a page collection.