# Series

{{< badge
  text="series.html"
  url="https://github.com/ZhenShuo2021/hugo-yore/blob/main/layouts/_partials/page/series.html"
  variant="muted"
  appearance="accent"
  pill=true
>}}

The Series feature groups multiple articles published across different dates or sections into a named sequence.

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.

```yaml {title="hugo.yaml"}
taxonomies:
  series: series
```

## Front Matter Setup

Set `series` to the series name and `series_weight` to control the article's position within the sequence.

```yaml {title="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](https://gohugo.io/content-management/taxonomies/#taxonomic-weight). If `series_weight` is not set, Hugo applies its [default sort order](https://gohugo.io/quick-reference/glossary/#default-sort-order).




## Ancestors of This Page (Auto Generated)



- https://yore.zsl0621.cc/zh-tw/docs/features/index.md

- https://yore.zsl0621.cc/zh-tw/docs/index.md
