Is there a way to determine if a site is being built in draft mode? (in a shortcode/template)
I know about .Page.Draft - but that checks that the page has its draft bit set.
What I’d like to do is on a page that is not a draft (draft=false) say whether or not things are being built in draft mode (e.g., that the draft pages are available).
Something that I could put in an if.
Thank you!