extend templates/layout.pug block content .container .center h1= entry.name a.btn.black(href=`/library/${entry.id}/chapters/add`) add chapter if entry.chapters.length == 0 p.flow-text No chapters added else .row each chapter in entry.chapters .col.s12 a(href=`/library/${entry.id}/chapters/${chapter.id}`) .card-panel p.flow-text= chapter.name