initial commit, database config working, pug template basic config, generated site working
This commit is contained in:
6
views/error.pug
Normal file
6
views/error.pug
Normal file
@ -0,0 +1,6 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= message
|
||||
h2= error.status
|
||||
pre #{error.stack}
|
1
views/footer.pug
Normal file
1
views/footer.pug
Normal file
@ -0,0 +1 @@
|
||||
h4= "Sean Clarke"
|
7
views/index.pug
Normal file
7
views/index.pug
Normal file
@ -0,0 +1,7 @@
|
||||
extends layout
|
||||
|
||||
block content
|
||||
h1= title
|
||||
p Welcome to #{title}
|
||||
|
||||
include footer.pug
|
11
views/layout.pug
Normal file
11
views/layout.pug
Normal file
@ -0,0 +1,11 @@
|
||||
doctype html
|
||||
html
|
||||
head
|
||||
meta(charset='utf-8')
|
||||
title= title
|
||||
meta(name='description', content='UNESCO World Heritage Site Visits - Sean Clarke')
|
||||
meta(name='author', content='Sean Clarke')
|
||||
link(rel='shortcut icon' href='favicon.ico' type='image/x-icon')
|
||||
link(rel='stylesheet', href='/stylesheets/main.css')
|
||||
body
|
||||
block content
|
Reference in New Issue
Block a user