Quick Refs

On my Apple MBA11 running MacOS X:

Wed Feb  6 21:55:22 CET 2019
$hugo version
Hugo Static Site Generator v0.54.0-B1A82C61A/extended darwin/amd64 BuildDate: 2019-02-01T10:02:36Z

On my Lenovo Legion running Windows 10:

C:\Users\dirk>echo %DATE%

C:\Users\dirk>hugo version
Hugo Static Site Generator v0.53-8FC339DC2529FF77E494A1C12CD1FF9FBCB880A4 windows/amd64 BuildDate: 2018-12-24T08:26:16Z

What is Front Matter

Front matter allows you to change the characteristics of a page through manipulation of the metadata of the website. All the Hugo front matter fields can be found here; the following list are the ones most used in this project: --- title: "Default" date: 2017-10-10T00:54:19+02:00 draft: true description: "Fiddling around with Front Matter." thumbnail: "/path_to/image.png" categories: [ "documentation", ] tags: [ "markdown", "hugo", "frontmatter", ] disable_comments: true --- date doesn’t necessary need the time, it can be omitted.

Mainroad Theme

Let’s have a look at how this theme processes and renders the different Markdown codes. We ’ll use more or less the same order as the Markdown quickref. As text filler we’ll use the wonderful Bacon Ipsum. Do check the original markdown document,to understand the actual usage of the different codes. There are some issues to take in consideration when using Mainroad: put an extra newline before starting a list (bug?
Using Markdown

Using Markdown

This Quick Reference focusses on Markdown, the content creation and formatting language used in Hugo. For a more lengthy tutorial, have a look at the excellent Markdown Tutorial and the official Cheat Sheet, which served as inspiration for this page. Check also the Mainroad theme page for the implementation and specific behaviour of the different Markdown commands in the Mainroad theme. Not all modifiers work as one would expect them to do.
Using Hugo

Using Hugo

This Quick Reference focusses on the command line usage of hugo. It’s based on my own experience and usage of the command. The reference guide for the command line can be found on the Hugo website. Most frequently used commands are on top. Content management commands new is the base command used to create new content. Requires additional commands and parameters for a new site, new theme or new content.