TL;DR

  • mkdir content/series
  • inside the series folder, create subfolders: <insertSeriesName>/_index.md
  • control title and description of the series overview page via the _index.md front-matter
  • add series = 'series under [taxonomies] in the config.toml
  • use series = ['insertSeriesName'] in an article front-matter to make it part of a series
  • if you want to display that an article is part of a series, there are different ways:
    • you can do so manually per article with a link
    • you can alter the template for single posts (see below)
    • you can use a shortcode

Series Code Snippet

Code location: layouts/_default/single.html

The snippet has to be inserted in your existing template. If you use a third party theme, you have to go to the theme’s GitHub, download the theme template and alter it at a position you see fit. The template from your project will be used during build, not the theme one.

Info

Keep in mind when doing such alterations to a third party theme, that you might not be able to do theme updates blindly anymore. This depends on the changes you made.

    {{ if .Param "series" }} {{ $currentPage := .Page.Permalink }} {{ $name := index
    .Params.series 0 }}
    <p style="margin-bottom: 16px;">
        This article is part of the series "<a href="/series/{{$name | urlize }}"
        >{{$name}}</a
        >."
    </p>
    {{end}}