included in empty entries:listing


In my _content folder I have another folder "concerts" that contains a few entries (, ...), a and a fields.yaml.

Here is what I have in my theme's "concerts" template:

    {{ entries:listing show_future="true" show_past="false" }}
      <li> {{date format="l j F Y"}} {{title}} </li>
    {{ /entries:listing }}

If there are entries that match the condition it works well but if there are none it displays the data from the instead. So instead of an empty list I get one element with {{title}} replaced by the title in so "Concerts".

Is this expected behavior?

Thank you!

Answered by Jason Varga!
>>>>>>> Answered <<<<<<<
5 Replies