{{ define "title" }}{{ .Title }}{{ end }}
{{ define "main" }}
{{ if not .Params.IsPage }}
<main class="inner-window white content">
{{ end }}
    {{ .Content }}
{{ if not .Params.IsPage }}
</main>
{{ end }}
{{ end }}
{{ define "status" }}{{ .Description }}{{ end }}
{{ define "footer" }}
  {{ if not .Params.HideComments }}
        {{ partial "comments" . }}
  {{ end }}
{{ end }}