Modifying your build process with environment variables
Here’s a list of the environment variables that can be used to modify your site’s build process.
| variable | meaning |
|---|---|
INCLUDE_DRAFTS |
When this variable is set to true, draft posts will be included in the build; when it’s false, they won’t be. This overrides the normal behaviour, which is to include drafts when ELEVENTY_RUN_MODE is set to watch or serve and to exclude them when ELEVENTY_RUN_MODE is set to build. Read more about drafts here. |
SKIP_EPISODE_CALCULATIONS |
Podcaster can calculate the size and duration of your episode files; but when this variable is set to true, those calculations will be skipped. Read more about how Podcaster calculates the size and duration of your episode files here. |