Skip to main content

Series

Published:

Series: Documentation

  1. 1. Introduction
  2. 2. Getting Started
  3. 3. Color Schemes
  4. 4. Directory Structure and Assets
  5. 5. Feature Images
  6. 6. Favicon
  7. 7. Series
  8. 8. Archive
  9. 9. Search
  10. 10. Backlinks
  11. 11. Related Article
  12. 12. Rich Content
  13. 13. Markdown and Hugo
  14. 14. Customization
  15. 15. Reference - Configuration
  16. 16. Reference - Front matter
  17. 17. Reference - Icons

The Series feature enables the logical grouping of multiple articles published across different dates or sections. A Series is implemented as a taxonomy, which is why the front matter variable is defined as a list of strings.

Configuration

Ensure the series taxonomy is explicitly defined in your project configuration:

hugo.yaml
taxonomies:
  tag: tags
  series: series

Front Matter Setup

Define the series name and the display order within the article's front matter. Use the series_weight key to control the sequence of articles within a specific series according to Hugo's taxonomic weight rules.

content/posts/example-article.md
---
title: "Example Article"
series: ["Documentation"]
series_weight: 10
---

Sorting Logic

Articles within a series are sorted by their taxonomic weight. To specify the order, define the series_weight key in the front matter; otherwise, Hugo applies its default sort order.

Series: Documentation

  1. 1. Introduction
  2. 2. Getting Started
  3. 3. Color Schemes
  4. 4. Directory Structure and Assets
  5. 5. Feature Images
  6. 6. Favicon
  7. 7. Series
  8. 8. Archive
  9. 9. Search
  10. 10. Backlinks
  11. 11. Related Article
  12. 12. Rich Content
  13. 13. Markdown and Hugo
  14. 14. Customization
  15. 15. Reference - Configuration
  16. 16. Reference - Front matter
  17. 17. Reference - Icons