Finally created my blog
Why I started blogging with Pelican and why static generators fit my workflow.
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.pyfile - Write your page/post using Markdown syntax
- Execute a command
and it will create the entire website for you. That’s all. Then you can push to your GitHub Pages 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 pushinside my local repository.
Downside
Every time 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.