{{define "banned.html"}}{{template "top" .}}
{{with .Body}}

You are banned! ;_;

You have been banned from {{if .Ban.Board}}/{{.Ban.Board}}/{{else}}all boards{{end}} for this reason:

{{if .Ban.Reason}}{{.Ban.Reason}}{{else}}No reason was given.{{end}}

Your ban was filed on {{date .Ban.Created}} and {{if .Ban.Expires.IsZero}}will not expire{{else}}expires on {{date .Ban.Expires}}{{end}}.

The address you were banned at is {{.IP}}.

{{with .Ban.Post}}

What you posted:

{{.}}
{{end}}
{{end}} {{template "bottom" .}}{{end}}