Creating Blog Series in Hugo: Part 1
In this first part we configure Hugo to recognise a series
taxonomy so related posts render together.
Step 1: Enable the Taxonomy
Add the series
entry to config.toml
(remember to keep existing taxonomies):
[taxonomies]
category = "categories"
series = "series"
tag = "tags"
Step 2: Tag Front Matter
Include the series name in each post:
---
author: Hugo Authors
title: Series Part 1
date: 2021-08-14
description: A brief guide to how to set up series part 1
series:
- series-setup
---
Hugo now renders “Posts in this Series” navigation automatically. Preview locally (hugo server
) to confirm ordering and navigation before publishing Part 2.