Blogging with Hugo website generator

Cet article a été traduit en français

Maintaining a blog is difficult. It takes motivation and time. Before you can even consider writing great articles like those published by David Louapre, you have to get started, and you have to make it a habit.

So, like everyone else, I thought I’d start simple. And that’s what I’m trying to do, by dedicating an hour a week to it. And I’m already having trouble sticking to it.

One thing is for certain and that’s that I’ve ruled out using a framework, because, as you will eventually learn by reading my posts, I’m a committed fan of the KISS principle. And to be honest, not only are tools like Wordpress heavy, but they are also full of security holes.

Everything should be as simple as it can be, but not simpler.

– Albert Einstein

Hugo is a static site generator. Unlike other systems which dynamically build a page every time a visitor arrives, Hugo builds the website each time you edit it.

This makes your website fast, secure and easy to host anywhere. You don’t have to deal with PHP, Go, Python or any other runtime.

You can read more on the benefits here.

In fact in my case, I don’t even have to deal with HTML. Because once I’d created the theme/style of my website, I only have to edit the article in the Markdown supported format. It looks like this:

+++
Author = "Philippe Anel"
title = "Blogging with Hugo"
date = 2018-08-25T22:17:42+01:00
draft = false
+++

# Blogging with Hugo

Maintaining a blog is difficult. It takes motivation and time. Before you can even consider writing great articles like those published by [David Louapre](https://sciencetonnante.wordpress.com/), you have to get started, and you have to make it a habit.
...

Simple, isn’t it?

Now I have some work to do!

PA