Hi,
I am having issues using shortcode options in templates. What is the problem here?
My template:
{% set option = {
toepisode: '3'
}|merge(option) %}
{% for episode in podcast.episodes|slice(0, option.toepisode ) %}
<p>{{ episode.title }}</p>
{% endfor %}
And I am calling the template with the following shortcode:
[podlove-template template="name" toepisode="5"]
But it always defaults to 3. What am I missing?