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?
Official response from Jim Gilliam
{{ page.status }} is now available
Share this post
Showing 3 reactions
Sign in with
Certified Architect
Certified Developer
Certified Architect
Certified Developer
Certified Architect
Certified Developer