Add chapters

This commit is contained in:
2021-12-19 21:04:17 +02:00
parent f259651ec9
commit 722c6a9bc5
4 changed files with 138 additions and 1 deletions

13
server/views/chapter.pug Normal file
View File

@@ -0,0 +1,13 @@
extend templates/layout.pug
block content
.container
//- h1= chapter.name
a.btn.black(href=`/library/${chapter.entryId}`) go to entry
.row
each chunk in chapter.chunks
p.flow-text= chunk.text