How do I use pelican to set up a static site? https://pages.charlesreid1.com/how-do-i-pelican
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.

1017 B

Theming your Pelican site

Custom themes are where Pelican becomes really powerful.

For this tutorial, though, we'll stick to the basics.

See pelican-themes on Github for a full list of themes.

See pelicanthemes.com for a gallery of themes.

simple-bootstrap theme

For this example, we'll use the simple-bootstrap, a simple Bootstrap theme.

To use the simple-bootstrap theme, we have to install it. Start by checking out the pelican-themes repo:

$ git clone --recursive https://github.com/getpelican/pelican-themes 

$ cd pelican-themes

$ pelican-themes -i simple-bootstrap

If you modify or update the theme, you can use the -U flag (for Update) with pelican-themes:

$ pelican-themes -U simple-bootstrap

Now you can set the gum theme in your pelicanconf.py by setting the THEME variable:

THEME="simple-bootstrap"