aboutsummaryrefslogtreecommitdiff
path: root/src/templates.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-10-20 12:17:57 -0500
committerMark Powers <markppowers0@gmail.com>2020-10-20 12:17:57 -0500
commit20deceae4de9779b3bfafa9c8b8811c403bfbc6e (patch)
tree2cc9a8fbb26cecd468813abf7ced741ef746c92f /src/templates.js
parente0a4d1bb1339e80775aa37efaf8cac314278f8e9 (diff)
Add me page
Diffstat (limited to 'src/templates.js')
-rw-r--r--src/templates.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/templates.js b/src/templates.js
index a9e3305..d355a5f 100644
--- a/src/templates.js
+++ b/src/templates.js
@@ -13,8 +13,10 @@ function loadPartial(name, filepath){
function setUpTemplates(){
loadPartial("navigation", path.join(__dirname, "templates/navigation.html"))
+ loadPartial("message", path.join(__dirname, "templates/message.html"))
let templates = {};
+ loadTemplate(templates, "me", path.join(__dirname, 'templates/me.html'))
loadTemplate(templates, "about", path.join(__dirname, 'templates/about.html'))
loadTemplate(templates, "login", path.join(__dirname, 'templates/login.html'))
loadTemplate(templates, "signup", path.join(__dirname, 'templates/sign-up.html'))