Skip to content


Subversion checkout URL

You can clone with
Download ZIP
a theme for pelican
Branch: master
Pull request Compare This branch is 2 commits behind alexex:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
screenshot.png adjusted screenshot

What is bootlex?

Bootlex is a theme for the pelican static blog generator. It is based on a modified bootstrap and works nicely with a lot of pelican features.


At some points I switched to the git version, so this theme might work with the stable version, but I recommend to use the latest version from git.


Just pull the repo with git clone git:// and include its location via the THEME option in your

There are some settings that will make it work flawlessly:

Your SITEURLmust have a trailing slash. You will also definetely need RELATIVE_URLS = False for the theme to properly work. I would recommend the following url config, that I am using with my theme, and seems to work quite good:

ARTICLE_URL = ('{slug}/')
ARTICLE_SAVE_AS = ('{slug}.html')
PAGE_URL = ('{slug}/')
PAGE_SAVE_AS = ('{slug}.html')
AUTHOR_URL = ('author/{name}/')
TAG_URL = ('tag/{name}/')

You will probably need some RewriteRules for your Webserver aswell, my .htaccess looks like this:

RewriteEngine On

RewriteBase /

RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.+)/$ $1.html [L]


You can make use of the following settings:

  • Pages (will be included in the menu automatically)
  • MENUITEMS (will be included aswell)
  • LINKS (as the above)
  • GOOGLE_ANALYTICS (will be included automatically, if set)


I do not know whether it works, but as I never cared about it, I suppose that categorys will not work properly

Something went wrong with that request. Please try again.