summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2014-11-17 12:16:33 -0500
committerJules Laplace <jules@okfoc.us>2014-11-17 12:16:33 -0500
commit4fed1541ff3ae153a219cb4deff304bce7b49c86 (patch)
tree53a124440d659236bbcba07d6888f616b07005af
parenta122c8137152cb7d6c1a398033364b200330b6ee (diff)
about views
-rw-r--r--server/lib/views/index.js7
-rw-r--r--views/about/_blank.ejs24
-rw-r--r--views/about/index.ejs23
3 files changed, 54 insertions, 0 deletions
diff --git a/server/lib/views/index.js b/server/lib/views/index.js
index 31cb1db..48b1c32 100644
--- a/server/lib/views/index.js
+++ b/server/lib/views/index.js
@@ -111,6 +111,13 @@ var views = module.exports = {
docs: function (req, res){
var name = req.params.name || "index"
+ try {
+ res.render('about/' + name)
+ return
+ }
+ catch (e) {
+ }
+
if (name === "new") {
res.render('docs', {
doc: { name: "new" },
diff --git a/views/about/_blank.ejs b/views/about/_blank.ejs
new file mode 100644
index 0000000..0e9ea7e
--- /dev/null
+++ b/views/about/_blank.ejs
@@ -0,0 +1,24 @@
+<!doctype html>
+<html>
+<head>
+ <title>vvalls</title>
+ [[ include ../partials/meta ]]
+</head>
+<body class="loading">
+ <div class="rapper page home">
+ [[ include ../partials/header ]]
+
+
+ <!-- put stuff here -->
+
+
+
+ [[ include ../partials/confirm-modal ]]
+ [[ include ../projects/layouts-modal ]]
+ [[ include ../partials/sign-in ]]
+ [[ include ../partials/footer ]]
+
+ </div>
+</body>
+[[ include ../partials/scripts ]]
+</html>
diff --git a/views/about/index.ejs b/views/about/index.ejs
new file mode 100644
index 0000000..4d40a5c
--- /dev/null
+++ b/views/about/index.ejs
@@ -0,0 +1,23 @@
+<!doctype html>
+<html>
+<head>
+ <title>vvalls</title>
+ [[ include ../partials/meta ]]
+</head>
+<body class="loading">
+ <div class="rapper page home">
+ [[ include ../partials/header ]]
+
+
+ <!-- put stuff here -->
+ <h1>INDEX</h1>
+
+ [[ include ../partials/confirm-modal ]]
+ [[ include ../projects/layouts-modal ]]
+ [[ include ../partials/sign-in ]]
+ [[ include ../partials/footer ]]
+
+ </div>
+</body>
+[[ include ../partials/scripts ]]
+</html>