BuildDrafts
Reports reports whether draft publishing is enabled for the current build.
Syntax
SITE.BuildDrafts
Returns
bool
Last updated:
March 2, 2026
:
content: Clean up content for deprecated features (850dc5b2b)
Improve this pageHugo Documentation

Syntax
Returns