I’d like to do stuff in a template conditional on whether Hugo is configured to build future content (i.e. the --buildFuture CLI flag is set or buildFuture = true is set in the config).
I searched this forum, the GitHub issue tracker as well as the general web, but couldn’t find a simple answer on how to detect whether Hugo is run with buildFuture set or not.
If Hugo would simply set an environment variable HUGO_BUILD_FUTURE when run with buildFuture, I would already be happy…
Anything I’m missing or should I simply open a feature request on GitHub? (Unfortunately, my Golang skills are zero.)