How do I use pelican to set up a static site?
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

830 B

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

PATH = 'my_custom_content_dir'

To modify the output directory, set the OUTPUT_PATH variable in

OUTPUT_PATH = 'my_custom_output_dir'

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