{{- with index (.GetTerms "series") 0 -}}

This post is part of the {{ .LinkTitle }} series.

{{- end -}} {{- $series := where .Site.RegularPages.ByDate ".Params.series" "intersect" .Params.series -}} {{- with $series -}}
    {{- range . -}}
  1. {{- if eq .File.UniqueID $.File.UniqueID -}} {{ .Title }} {{- else -}} {{ .Title }} {{- end -}}
  2. {{- end -}}
{{- end -}}