I know I probably reached my limit today for asking questions, but from my TWIG I can use the findTaxonomy function quite nicely but only when it is hardcoded. I am trying to make the TWIG flexible in that I can set YAML header options to make it display different content
Trying to do something like
{% for feature in taxonomy.findTaxonomy({'{{ page.header.taxfeatures.type }}': '{{ page.header.taxfeatures.filter }}'}) %}
and in my item.md:
taxfeatures:
type: dna
filter: applications
but the findtaxonomy function does not return any items. if I hard code it to do:
{% for feature in taxonomy.findTaxonomy({'dna': 'applications'}) %}
then it will work. I verified in the same twig that {{ page.header.taxfeatures.type }} and {{ page.header.taxfeatures.filter }} are legit.
I also trie various ways of doing the hash as a variable hash but only got TWIG errors