{{define "area.html"}}{{template "head" .}} {{$b := .Body}}

{{$b.Area.Name}}

{{if $b.Area.Description}}

{{$b.Area.Description}}

{{end}}
{{if $b.CanPost}} Start new topic{{end}}
{{template "pages" $b.Pages}}
{{if .User}}
{{end}}
    {{range $b.Topics}}
  1. {{if .Unread}}{{end}}

    {{.Root.Subject}}{{if ge .Replies 15}} {{end}}

    {{if gt .Pages 1}}
      {{$root := .Root.ID}}{{range (seq .Pages)}}
    • {{.}}
    • {{end}}
    {{end}}
    By {{.Root.From}}, {{ago .Root.Created}}
    • {{num .Replies}} {{if eq .Replies 1}}reply{{else}}replies{{end}}
  2. {{else}}
  3. There are no topics in this forum yet{{if $b.CanPost}}. Start the conversation{{end}}
  4. {{end}}
{{template "pages" $b.Pages}}
{{template "foot" .}}{{end}}