A description of my problem:
I have a blog-like website with in the home folder ‘diary’-items as well as a modular page.
/1.diary/
/2.diary/
/etc.diary/
/modular/ (no number, currently unroutable)
The home displays a list of these diary items, including pagination. However, it also adds the modular to the list, which I do not want. How do I ‘hide’ the modular page from the list?
The settings of the ‘list’ are as follows:
content:
items: '@self.children’
limit: 8
order:
by: date
dir: desc
pagination: true
url_taxonomy_filters: true
dateRange:
start: 5/5/2014
end: 1/1/2020
According the GRAV’s documentation, this should hide the modular page from the list because:
a) @self.children should only fetch non-modular children
b) I set the publication date of the modular page to pre-5/5/2014, meaning the date-range should hide the item.
Despite that, the modular page still shows up in the list.
Next I tried making the page unroutable and adding .routable() to the collection call in the twig file…:
{% set collection = page.collection().routable() %}
… which didn’t work either .
So, my question:
How do I hide the modular page so it is not displayed in the list?