it seems published: false in fronmatter is not working for collections. Is there any alternative or workaround?
have you tried?
In fact, I was wrong and both output and published are working as intended. It turned out that my problem was something else, which I described here: