It’s been a long time then I used WordPress for my personal blog and other projects. I learned a lot of WordPress ecosistem and, at the begginig, I liked the simplicity of their CMS. But, later, it started to come with very complex features in their releases from year to year which are not related for a simple blog page and I, at least, will never use them. Besides this, there are other concerns, like:
- every code usually comes with bugs/exploits, and is my responsibility to maintain the host secure and I have no time for this headache.
- spam spam spam… a lot of blog spam that you need a decent hosting solution - it’s money down the drain for me
After that I started looking on site generators which seems to solve a lot of my problems and also there is a lot of options to host my site on (github/gitlab/cloudflare/docker+nginx)
So I started digging deeper and I chose to play and use hugo
Since I don’t like to install apps on my pc, I will setup an environment to run hugo in docker. After some googling I found jojomi/docker-hugo which already have the boilerplate setup to start from.
|
|
inside docker container:
|
|
in order to boot up hugo, I need a theme and after reviewing the hugo’s theme directory I choosed the jane theme.
After reviewing config.toml and make the changes in the main config file, I am ready to test it with docker-compose:
|
|
|
|
and on http://localhost:1313 the new blog is up
Happy blogging