{{ define "top" }}

/{{ .Board.Name }}/ - {{ .Board.PrefName }}

{{ .Board.Summary }}

{{ $len := len .Posts }} {{ if eq $len 0 }} {{ if .Board.InReplyTo }} {{ else }} {{ end }}
{{ if eq .Board.InReplyTo "" }} {{ end }}
[X]
{{ if .Board.InReplyTo }}{{ end }}

Mark sensitive
{{ else }} {{ if eq (index .Posts 0).Type "Note" }} {{ if .Board.InReplyTo }} {{ else }} {{ end }} {{ $len := len .Posts }}
{{ if eq .Board.InReplyTo "" }} {{ end }}
[X]
{{ if .Board.InReplyTo }}{{ end }}

Mark sensitive
{{ else }}

Archived Post

{{ end }} {{ end }} {{ end }}