Notes on pelican

Posted on Sat 07 October 2017 in Notes

To generate the website:

pelican /path/to/your/content/ [-s path/to/your/settings.py] [-t pelican-theme]
pelican content -t Flex

For local generation/visualization set the SITEURL variable to an empty string in the pelicanconf.py file.

...
SITEURL = ''
...

and change it back to the website domain name before publishing.

...
SITEURL = 'www.tristan.bitardfeildel.fr'
...

To generate the website for web publication:

pelican content -s publishconf.py

documentation:

  • docs.getpelican.com/en/stable/publish.html
  • docs.getpelican.com/en/stable/pelican-themes.html