{{- /* metadata-series.html (partial): Displays series and part information if defined in the page's frontmatter (`series` and/or `parts`). Features: - Displays the series name (from `series` frontmatter) as a link to its parent directory (`../`). - Displays the part name (from `parts` frontmatter). Purpose: - Helps visitors understand if the content belongs to a series and which part they are currently reading. This creates a hierarchy similar to Book-Chapter for navigation and context. Repo: https://github.com/oxypteros/alpha */ -}} {{- $series := .Page.Params.series }} {{- $parts := .Page.Params.parts }} {{- if or $series $parts }}
{{- with $series }} {{ . }} {{- end }}
{{- with $parts }} {{ . }} {{- end }}
{{- end }}