Add chapters
This commit is contained in:
13
server/views/chapter.pug
Normal file
13
server/views/chapter.pug
Normal 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
|
||||
Reference in New Issue
Block a user