Hello World

Content as Data

Hugo allows you to define the data for a page using configuration files like this one, written in Markdown, HTML, or a variety of other formats.

Blocks
The block keyword allows you to define the outer shell of a page within one or more base templates, and then fill in or override portions as necessary.
Templates
Hugo templates are HTML files with the addition of variables and functions. Template variables and functions are accessible within double brace marks.
Variables
In Hugo, each each template is passed a Page data object to provide it with context for generating the page. That context is accessible within a template using variables like .Title and .IsHome.