diff --git a/resources/jade/home.jade b/resources/jade/home.jade index e69de29..dd91f3b 100644 --- a/resources/jade/home.jade +++ b/resources/jade/home.jade @@ -0,0 +1,8 @@ +html + head + title Hoe werkt Werkmanrooster ? + link(rel="stylesheet", href="/css/style.css", type="text/css") + link(rel="stylesheet", href="/css/skeleton.css", type="text/css") + + body + h1 HEY THERE diff --git a/resources/less/style.less b/resources/less/style.less index 8b13789..5b7e679 100644 --- a/resources/less/style.less +++ b/resources/less/style.less @@ -1 +1,3 @@ +body { +} diff --git a/web.js b/web.js index 1b5ffde..067417c 100644 --- a/web.js +++ b/web.js @@ -15,7 +15,7 @@ app.use('/css', less(__dirname + '/resources/less')); app.use('/other', express.static(__dirname + '/resources/other')); app.get('/', function (req, res) { - res.send('Hello world!'); + res.render('home'); }); app.listen(1025);