{{ define "main" }}

{{ .Title }}

{{ if isset .Params "date" }}
Posted {{ dateFormat "2006-01-02" .Date }}{{ if .Draft }} DRAFT {{ end }}
{{ end }}
{{ if isset .Params "tldr" }}
tl;dr: {{ .Params.tldr }}
{{ end }}
{{ .Content }}
{{ end }}