Finally created my blog
Saturday, March 03, 2012
I've been thinking a lot about creating a blog, and here finally it is.
Using Pelican
I'm currently using pelican, which is a static website generator developed in Python. It is pretty simple:
- Install it
- Configure a
settings.py
file - Write your page/post using markdown syntax
- Execute a command
and will create the entire website for you. That's all! Then you can push to your github page repository ;)
I'll be trying hyde (another Python static website generator) to see the main differences between them.
About static website generators
Here are a few reasons why I prefer those static website generators instead of using a blogging platform like Wordpress:
- I don't have a very good internet connection and I can write offline without problem.
- I don't need any HTML editor to write my code. I'm used to markdown syntax because of Stack Overflow, so it is pretty easy to write.
- Submitting my content is as easy as executing
git push
inside my local repository.
Downside
Everytime I make a change on my blog, almost all the HTML pages are modified.
GitHub allows Jekyll, which is good because the HTML pages are generated on the server. I think I'll give it a try these days...