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.
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?
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.
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.
A long time ago I had a technical blog using this domain name on the blogger.com platform. But as with many blogging initiatives it died a silent death. The situation is slightly different these days as I have some time to write blogs and articles. As mentioned in the About section, this website is completely managed using the Hugo static website creation tool. A long time ago I used a GUI on MacOS X called RapidWeaver for my personal website which was quite amazing but like many offline tools had some pros and cons: