3 Using markup for content
This chapter covers
- Creating content using Markdown
- Using Hugo’s extensions to Markdown
- Understanding the markup languages supported by Hugo
- Using YAML for metadata in a Hugo-based website
- Playing with the various elements of the front matter
Most documents in the content folder of a Hugo website consist of textual content in a markup language and its associated metadata in a metadata language. Markdown is the most popular markup language and the most widely used. YAML is among the most popular languages for writing key-value configurations, where human readability is essential.
Figure 3.1 (top) shows the focus area for this chapter. In sections 3.1 to 3.3, we will focus on the Markdown language to provide content, ...
Get Hugo in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.