How can I test the value of a hugo build flag from a template?
For example, I want to write a shortcode that behaves differently depending on whether hugo was run with the
(I know how to use
$.Page.IsDraft to check whether a given page sets
true, but this is not what I’m after here.)