@BookCover(book, true)
package views import ( "fmt" "strings" "github.com/arnef/ebooks/internal/library" ) templ Layout(title string, backHref string) {
{ errMsg }
}{ errMsg }
} } } templ BookCover(book library.Book, detail bool) { if book.HasCover {Titel, Autor und Cover auf einen Blick.
if canUpload { Buch hochladen }Keine eBooks gefunden. Lege EPUB-Dateien im Ordner books/ ab.
{ fmt.Sprintf("Kapitel %d von %d", chapter.Index+1, chapter.Total) }
if chapter.Title != "" {