Skip to content

Generating your static site

To generate your static site with Pelican, use the pelican content command, run from the pelican/ directory (see getting started for a guide to the pelican directory layout):

$ pelican

This will generate the static site content into the output/ folder.

Inputs: content/

Output: output/

To modify the input folder, change the PATH variable in pelicanconf.py:

PATH = 'my_custom_content_dir'

To modify the output directory, set the OUTPUT_PATH variable in pelicanconf.py:

OUTPUT_PATH = 'my_custom_output_dir'

See the settings page of the pelican documentation for more variables that can be set in the pelicanconf.py file.