Gopher

Fundamentals

Introduction to Hugo Templating

Hugo uses Go’s html/template and text/template libraries as the basis for the templating. Read More »

Content Organization

Hugo assumes that the same structure that works to organize your source content is used to organize the rendered site. Read More »

Hugo's Lookup Order

Hugo searches for the layout to use for a given page in a well defined order, starting from the most specific. Read More »

Base Templates and Blocks

The base and block constructs allow you to define the outer shell of your master templates (i.e., the chrome of the page). Read More »

Install Hugo

Install Hugo on macOS, Windows, Linux, OpenBSD, FreeBSD, and on any machine where the Go compiler tool chain can run. Read More »

Directory Structure

Hugo’s CLI scaffolds a project directory structure and then takes that single directory and uses it as the input to create a complete website. Read More »

Code Toggle

Code Toggle tryout and showcase. Read More »

Configure Hugo

How to configure your Hugo site. Read More »

Configure Markup

How to handle Markdown and other markup related configuration. Read More »

Comments

Hugo ships with an internal Disqus template, but this isn’t the only commenting system that will work with your new Hugo website. Read More »