{{ define "content" }}
{{ if not (eq .Class "complete") }}

{{ .Name }}

{{ end }} {{ if eq .Class "frontmatter-only" }}
{{ template "frontmatter" .FrontMatter }}
{{ else if eq .Class "content-only" }}
{{ else }}

{{ template "frontmatter" .FrontMatter }}

{{ end }}

{{ if and (eq .Class "complete") ( .IsPost ) }} {{ end }}

{{ end }}