piped or option_list question

I am trying to give the user the option to select collections and tags to bring back related entries.

My markdown is something similar to:

select_collection:
  - blog
  - resources
select_tags:
  - 'alice-milligan'
  - 'battle-of-the-somme'

and my collection tag is:

{{ collection 
    from="{select_collection|piped}"
    limit="12" 
    taxonomy:tags="{select_tags|piped}"
    as="post"  
    }}
    {{ post }}
        {{title}}
    {{ /post }}
{{ /collection }}

which I would expect to return something like:

from ="blog|resources" 

which works when I hardcode it but not using the piped or option_list modifiers.

Am I misunderstanding this or missing something really obvious :)

Thanks for any help

>>>>>>> Unanswered <<<<<<<
0 Replies
1 Follower