Environment variables
Available environment variables to configure Lume
Lume has the following environment variables that you can use with deno task lume:
LUME_DRAFTSAll pages with the variable
draft: trueare ignored by Lume. With this variable you can configure Lume to process draft pages too, which is useful for development environments.LUME_DRAFTS=true deno task lume
Note
In development mode (i.e. with deno task serve), the LUME_DRAFTS variable is true by default.
LUME_LOGSLume uses the following log levels:
DEBUG,INFO,WARNING,ERRORandCRITICAL. The default level isINFOand this environment variable allows to change it to have more or less details of the build process. For example, to only show critical errors, hiding everything else:LUME_LOGS=critical deno task lumeLUME_NOCACHELume has a cache for remote files, so they are downloaded only once. Use this environment variable to disable it.
LUME_NOCACHE=true deno task lume