diff options
author | Marvin Borner | 2019-01-18 21:07:39 +0100 |
---|---|---|
committer | Marvin Borner | 2019-01-18 21:07:39 +0100 |
commit | 7dd78773cb6c0c3ccfa6784fde98e4ad923b0bc9 (patch) | |
tree | 09083cadac80892a759776cf6ef3b030400f23ab /views |
Initial boilerplate
Diffstat (limited to 'views')
-rw-r--r-- | views/error.pug | 4 | ||||
-rw-r--r-- | views/index.pug | 5 | ||||
-rw-r--r-- | views/layout.pug | 7 |
3 files changed, 16 insertions, 0 deletions
diff --git a/views/error.pug b/views/error.pug new file mode 100644 index 0000000..be6ecf2 --- /dev/null +++ b/views/error.pug @@ -0,0 +1,4 @@ +extends layout + +block content + h1= message 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..68a7399 --- /dev/null +++ b/views/layout.pug @@ -0,0 +1,7 @@ +doctype html +html + head + title= title + link(rel='stylesheet', href='/styles/style.css') + body + block content |