{{define "title"}}{{.Channel.Title}} โ€” {{.SiteTitle}}{{end}} {{define "main"}}

section

{{.Channel.Title}}

{{.Channel.Blurb}}

{{.Total}} stories archived

{{if .ShowRoster}} {{/* While you were away. First thing on the page when it renders at all, and it renders for exactly one reader: the signed-in owner of an adventurer something has happened to since their last visit. Above the Siege because everything below this line is the realm's news and this is the reader's own. */}} {{if .Away.Has}}

While you were away

{{.Away.Name}} ยท past {{.Away.Since}}
{{if .Away.Token}} {{if .Away.HasMore}}More, and the rest of the trail{{else}}Your adventurer{{end}} {{end}}
{{end}} {{/* The Siege strip. Above the board on purpose: the board is where everyone is, the Siege is where everyone should be. When one is camped this is a live bar and a door into the war room; when none is, it stays as the quiet doorway to the history, which is the other half of making the next one feel like it counts. */}} {{if .Siege.Active}}

๐Ÿฐ The Siege ยท now

{{.Siege.BossName}} is at the gates

{{.Siege.HPCurrent}} / {{.Siege.HPMax}} HP ยท {{.Siege.HPPercent}}% standing ยท {{len .Siege.Waiting}} bout{{if ne (len .Siege.Waiting) 1}}s{{end}} still going spare

{{else if .Siege.History}} Nothing camped outside town right now โ€” the sieges we've fought {{end}}

Out there right now

{{if .RosterStale}}last known โ€” the wire's gone quiet{{else}}live{{end}}

{{if not .User}}

Sign in to send something unpleasant their way.

{{end}} {{if .User}} {{end}}
{{end}} {{if .Stories}}
{{range .Stories}} {{template "card" dict "Story" . "Theme" $.Channel.Theme}} {{end}}
{{else}}
Pete hasn't catalogued anything for {{.Channel.Title}} yet.
{{end}} {{end}}