Skip to main content

page.status

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

{{ page.status }} is now available

Share this post

Showing 3 reactions

How would you tag this suggestion?
Please check your e-mail for a link to activate your account.