Static blog – Pelican

I first read about pelican on (Twitter alternative). It was mentioned that static blogs (with pelican) are very fast. I did some tests with pelican and uploaded it to my github account as a github user page. I chose the elegant theme because I wanted a theme that shows tags and categories and works crossplatform (different browsers, mobile, …).

So here it is:

The following steps give you a general picture about the required steps:

  1. Download Pelican, some additional packages and plugins
  2. Initial setup
  3. Choose a theme
  4. Write content in markup or ReStructured text and “compile” it with pelican to static html files
  5. Push the output directory to external host (e.g. Github)

Things I like about it:

  • Using vim as my editor (or in general to use the tools I prefer)
  • Reusing a post as a template for another one  is easy
  • Create my own post templates and automate if needed (Python-, Ruby-, Bash-Scripts, …)
  • Editing my drafts offline (vacation, trains, airplanes)
  • fast loading times

This post has some links I used:

Pelican is written in Python. If you like Ruby more than Python you might want to check out Jekyll.