{{ define "body" }}

Published {{ DateTimeFormat .Payload.PublishedAt }} {{ if not .Payload.LastUpdatedAt.IsZero }}
Last updated {{ DateTimeFormat .Payload.LastUpdatedAt }} {{ end }}

{{ .Payload.Title }}

- {{ .Payload.Description }}


{{ .Payload.Body }} {{ if (or .Payload.SeriesPrevious .Payload.SeriesNext) }}

This post is part of a series.
{{ if .Payload.SeriesPrevious }} Previously: {{ .Payload.SeriesPrevious.Title }} {{ end }} {{ if (and .Payload.SeriesNext .Payload.SeriesPrevious) }}
{{ end }} {{ if .Payload.SeriesNext }} Next: {{ .Payload.SeriesNext.Title }}
{{ end }}

{{ end }} {{ end }} {{ template "base.html" . }}