It seems that collection do not separate posts from pages or from other type of documents.
They have a docs array containing all elements in the collection.
I can easily select docs with the layout “page” with where filter: site.docs | where: “layout”,“page”
But I want to get all documents except the ones of type post, something like:
site.docs | where: “layout”, not “page”
site.docs| where: “layout”, “!=page”
But there does not seem to be a not operator and the string is not interpreted as an expresión like in SQL statements.
How may I filter out elements that match a criteria from an array collection?