{{ define "body" }} {{ $tags := .GetTags }} {{ $post := (or (and .Payload.IsDraft .GetThisDraftPost) .GetThisPost) }}

{{ if .Payload.IsDraft }} Back to Drafts {{ else }} Back to Posts {{ end }}

Unique ID {{ if eq $post.ID "" }} {{ else if .Payload.IsDraft }} {{ $post.ID }} {{ else }} {{ $post.ID }} {{ end }}
Tags (space separated) {{ if $tags }} Existing tags: {{ range $i, $tag := $tags }} {{ if ne $i 0 }} {{ end }}{{ $tag }} {{ end }} {{ end }}
Series
Title
Description
Format

{{ if .Payload.IsDraft }} {{ else }} {{ end }}

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