Based on https://startbootstrap.com/template-overviews/full-slider/.
Set the following environment variables:
HUGO_ENV
production
HUGO_VERSION
0.42
hugo server --disableFastRender
With draft content.
hugo server --disableFastRender -D