{{ define "body" }} {{ $post := .GetThisPost -}}
- {{ $post.Description }}
{{ end }}Published {{ $post.PublishedAt.Format "2006-01-02" }}
{{- if $post.Series }} {{ $seriesNextPrev := .GetPostSeriesNextPrevious $post -}} {{ if or $seriesNextPrev.Next $seriesNextPrev.Previous }}
This post is part of a series.
{{ if $seriesNextPrev.Next }}
Next: {{ $seriesNextPrev.Next.Title }}
{{ end }}
{{ if and $seriesNextPrev.Next $seriesNextPrev.Previous }}
{{ end }}
{{ if $seriesNextPrev.Previous }}
Previously: {{ $seriesNextPrev.Previous.Title }}
{{ end }}