{{ 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) }}

If you liked this post, consider checking out other posts in the 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" . }}