aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorAlee <Alee14498@gmail.com>2019-05-25 11:56:47 -0400
committerAlee <Alee14498@gmail.com>2019-05-25 11:56:47 -0400
commitacff9d74df0614f2a681a35958727d7f9e2c2c67 (patch)
tree2786c1c41c18e1eeb1b801669d4d78b66f44b996 /views
parent02c32ee48d6753332604556d526e68a05aac4a1f (diff)
downloadalp-website-acff9d74df0614f2a681a35958727d7f9e2c2c67.tar.gz
alp-website-acff9d74df0614f2a681a35958727d7f9e2c2c67.tar.bz2
alp-website-acff9d74df0614f2a681a35958727d7f9e2c2c67.zip
added stuff
Diffstat (limited to 'views')
-rw-r--r--views/error.pug6
-rw-r--r--views/index.pug5
-rw-r--r--views/layout.pug7
3 files changed, 18 insertions, 0 deletions
diff --git a/views/error.pug b/views/error.pug
new file mode 100644
index 0000000..51ec12c
--- /dev/null
+++ b/views/error.pug
@@ -0,0 +1,6 @@
+extends layout
+
+block content
+ h1= message
+ h2= error.status
+ pre #{error.stack}
diff --git a/views/index.pug b/views/index.pug
new file mode 100644
index 0000000..3d63b9a
--- /dev/null
+++ b/views/index.pug
@@ -0,0 +1,5 @@
+extends layout
+
+block content
+ h1= title
+ p Welcome to #{title}
diff --git a/views/layout.pug b/views/layout.pug
new file mode 100644
index 0000000..15af079
--- /dev/null
+++ b/views/layout.pug
@@ -0,0 +1,7 @@
+doctype html
+html
+ head
+ title= title
+ link(rel='stylesheet', href='/stylesheets/style.css')
+ body
+ block content