ABSTRACT

This chapter briefly introduces Hugo, the static site generator on which blogdown is based. It provides a guide to those who are just getting started with Hugo. Unlike other static site generators, the installation of Hugo is very simple because it provides a single executable without dependencies for most operating systems. The chapter explains this. Although people think Hugo is a fantastic static site generator, there is really one and only one major missing feature: the support for R Markdown. The chapter also includes details on the following files and folders: Configuration file, TOML Syntax, Options, and Content, among others. Besides all Markdown features, Hugo provides a useful feature named "shortcodes." A Hugo theme consists of two major components: templates, and web assets.