Static blog – Pelican

I first read about pelican on quitter.se (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:

http://parobalth.github.io/

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:

http://parobalth.github.io/first-post

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s