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

{{ .Name }}{{ if eq .Class "frontmatter-only" }} {{ end }}

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

Metadata

{{ template "frontmatter" .FrontMatter }}
{{ end }}
{{ if or (eq .Mode "markdown") (eq .Class "full") }} {{ else }} {{ end }}
{{ end }}