Below you will find pages that utilize the taxonomy term “Hugo”
Post
Improve blog with tags, table of content, RSS, ...
The two previous blog posts where about the set up of the blog. Now, I’ll add several small (or not) details, such as tags, legal pages, images, table of content, …
File organization I first started by creating Markdown files directly in the content/{en,fr}/post/ directory. But while writing this post, I needed to add images.
The default place for site images is in the static/ directory (in which I created the images/ sub-directory).
Post
How to create a multilingual site with Hugo
With Hugo, we can create a multilingual site.
Configuration We first have to write in the config file what are the supported languages:
config.yaml
languages: en: title: Stéphane's Blog fr: title: Blog de Stéphane We can add a params block for each language to override some specific values depending on the language, for example labels or urls.
Please note that the default language will be the one defined in the defaultContentLanguage parameter.
Post
Create a blog with Hugo
Unsurprisingly, the first post of this blog explains how it is built and hosted.
Blog engine choice This blog is static, meaning it does not need a content management system such as Wordpress, Drupal or others.
On the contrary, all pages are generated upstream in HTML/CSS/JS, and are served statically. The tool that does all that (and more) is Hugo.
Hugo takes in input Markdown files, and generates the corresponding HTML.