{{/* The regions that live outside the swapped #list: the "Continue reading" strip, the Updated badge and the action key. All are rendered inline by app.html and again, out of band, on every /ui/ response — a mutation must not leave them describing the library as it was before the tap. All always render, hidden when they have nothing to say, so an out-of-band swap always has an element with the right id to replace. */}} {{define "recent"}}

Continue reading

{{range .Recent}} {{if .Cover}} {{else}}{{end}} {{if .HasNewChapter}} {{else if .Favorite}}{{end}} {{.Title}} {{.DisplayChapter}}{{if .HasNewChapter}} · New{{end}} {{end}}
{{end}} {{/* The action key. The icon strip on a card is unlabelled, so one permanent line under the tabs names every glyph. It follows the tab rather than the row: the archived and finished buckets swap Archive for Restore, and a finished series has no Done to offer. */}} {{define "keyrow"}}
Read Fav Chapter {{if or (eq .Tab "archived") (eq .Tab "finished")}} Restore {{else}} Archive {{end}} {{if ne .Tab "finished"}} Done {{end}} Delete
{{end}} {{/* The brand mark, inline so it takes the page's ink and ember rather than the fixed palette of /static/logo.svg (which the favicon needs). */}} {{define "mark"}} {{end}} {{define "newcount"}}{{.NewCount}}{{end}}