How to find list of pages with published: false?


#1

Is there a way to get the list of pages in a certain collection for which published is false?

The usual loop {% for page in site.collections... %} does not work because documents with published: false are not included in the array of pages of a collection.

Is there a way to ask for a more complete list of available pages?