Is there a page variable to get the status of a page? Like if a page is published, archived, drafted etc?
If a page has children, and any of those children are published, I want to print a header message and links to the children. But if there are no published children I don't want to even print the header message.
How does most_recent_published_descendants work?
published is now available
Is there a page variable to get the status of a page? Like if a page is published, archived, drafted etc?
If a page has children, and any of those children are published, I want to print a header message and links to the children. But if there are no published children I don't want to even print the header message.
How does most_recent_published_descendants work?
{% if page.most_recent_published_descendants != empty %}