I have a jekyll website with a blog section that has this:
{% for post in site.posts %}
... display post ...
{% endfor %}
This blog section correctly skips posts that are dated in the future.
In another part of my website I want to be able list posts that have a specific "Event" tag, regardless of the date of the post (so even posts in the future should be shown). I have something like this for now:
{% for post in site.posts %}
{% if post.tag contains "Event" %}
... display post ...
{% endif %}
{% endfor %}
However this loop skips the posts that have a date in the future. How can I prevent this (only for this loop)? Solutions like setting published: true would not work because the blog section would start showing those posts as well.