Hello World
This is my personal blog and I will most of the time use this as a sort of parking space for thoughts and projects.
Some will be about workrelated stuff but more likely it will be about containers and Kubernetes - plus fun projects activities out and about.
Instead of using one of the more boring blog engines out on the internet (looking at you Medium, Blogger and Wordpress) I opted for a Markdown based, static generated blog framework hosted on github pages. I ended up with Hexo.io which is very much like Jekyllrb and Hugo, though something just felt more right for me with Hexo - though I could end up use Hugo if they catch up with Hexo features. I really like their approach, but Hexo had more features that resonated with me.
Setting up github pages was a breeze and the same for setting up an apex domain to point at my Github Page, i.e. just a github repository. I especially love that in github you can set the Custom Domain option in the web UI or just include a CNAME file in your first commit containing the URL to use (in my case transforming darkcloud.github.io to darkcloud.dk)
For comments i use Disqus because integration was easy and because I could not get Gitment to work. The theme is based on Louis Barranqueiro’s very excellent tranquilpeak theme. Seriously, look at his documentation. I wish everyone was as thorough.
Install and configure Hexo
1 | $ npm install hexo-cli -g |
Write posts
1 | $ hexo new "Hello World" |
Publish changes
1 | $ hexo deploy #configured in _config.yml to push files to github pages |
More info on writing, generating and deployment with Hexo.
Note to self:
My plan is to keep the post syntax as close to Markdown as possible, though Hexo and the tranquilpeak theme does support some pretty cool custom tags for everything from fancybox galaries to alerts and highlighting.
[![Sample Image Added via Markdown](avatar.png)](head.jpg)
[![Everything Is AWESOME](https://img.youtube.com/vi/StTqXEQ2l-Y/0.jpg)](https://www.youtube.com/watch?v=StTqXEQ2l-Y "Everything Is AWESOME")
though the plugin tags are quite elegant