feature: update boilerplate with key plugins and streamlined templates

This commit is contained in:
Ben Hong
2022-01-27 14:59:59 -05:00
parent 4a4e8a047f
commit 776155d490
110 changed files with 37922 additions and 3779 deletions

View File

@@ -0,0 +1,17 @@
<%*
const title = tp.file.title
// "Book" Notes
if (title.includes('(Book)')) {
return tp.file.include('[[Book (Template)]]')
}
// "People" Notes
else if (title.startsWith("@")) {
await tp.file.move("/people/" + title)
return tp.file.include('[[People (Template)]]')
}
// "Starter" Note
else {
return tp.file.include('[[Starter Note (Template)]]')
}
%>