{{ define "body" }}

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

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

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

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