Set Pelican Themes

Posted on Thu 21 December 2017 in Python

To run the test server, the best way is

1
./develop_server.py start

Then you can connect to this on http://localhost:8000

Lets try to make it look a bit better, and mobile friendly. So:

1
2
3
pelican-themes -l
simple
notmyidea

So we'll edit pelicanconf.py and add

1
THEME = 'notmyidea'

Which, appears is the default theme, and simple is just plaintext.

Lets go find something better:

1
2
3
mkdir themes
cd themes
git submodule add https://github.com/onur/medius

And edit the THEME setting again in pelicanconf.py

1
THEME = 'themes/medius/'

And commit everything to your repository :)