added some quick notes to update rendering, changed index template id to 0 since it is always present

This commit is contained in:
Ro 2020-06-21 14:23:23 -07:00
parent 9c1dbe00ad
commit 6ed3797b3a
3 changed files with 3 additions and 2 deletions

View file

@ -29,7 +29,7 @@ export default class Book {
getPage(id) { getPage(id) {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
fh.create() fh.create()
.paths("content/pages") .paths('content/pages')
.ext('md') .ext('md')
.find() .find()
.then(files => { .then(files => {

View file

@ -103,6 +103,7 @@ export default class Render {
} }
} else { } else {
//don't render delete pages //don't render delete pages
//check to see if deleted pages have been renderered and delete them
} }
} }
}) })

View file

@ -1,5 +1,5 @@
--- ---
id: 1 id: 0
uuid: uuid:
title: This is the Start title: This is the Start
feature: /assets/images/global/default-bg.jpg feature: /assets/images/global/default-bg.jpg