autodidact, programmer

Recent posts

From Wordpress to Pelican

My website started out with Joomla. Then I moved to Drupal, and made it a blog, but I wanted something simpler so I moved to Wordpress and made it bilingual too. But being very busy meant sometimes I spent weeks not going to the administration. When I did go, there was always lots of updates to do and a lot to manage.

Wordpress wasn’t also as simple as I hoped. I had to go through a lot of plugins and fiddle with code that I don’t like (I mean Wordpress). I still wanted something simpler.

Static site generators are all the rage these days so I decided to give one a try. Octopress is very popular but It’s written in Ruby. I wanted something in Python, so I could easily extend if I wanted to. I ended up deciding for Pelican.

When deciding, I noticed a lot of posts on Google with people migrating from Wordpress to Jekyll, to Octopress, to Pelican or other static site generator. This post is now one of those posts. It’s about how I migrated from Wordpress to Pelican, specifically what optimizations made the website much faster and also how I replaced the features I used in Wordpress.

Here’s a preview:

  • Static website
  • Private hosting
  • Nginx
  • Compression (gzip)
  • reStructuredText
  • Responsive images
  • Dynamic theme with Jinja2 and Compass
  • Webassets
  • Comments
  • Search
  • Contact form
  • RSS feed
  • Newsletter
  • Conclusion