Bezig met het toevoegen van stylesheets en jade templates.

This commit is contained in:
Bram van der Veen 2015-06-24 12:56:57 +02:00
parent 0095217280
commit d98d8a4dbd
3 changed files with 11 additions and 1 deletions

View file

@ -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

View file

@ -1 +1,3 @@
body {
}

2
web.js
View file

@ -15,7 +15,7 @@ app.use('/css', less(__dirname + '/resources/less'));
app.use('/other', express.static(__dirname + '/resources/other')); app.use('/other', express.static(__dirname + '/resources/other'));
app.get('/', function (req, res) { app.get('/', function (req, res) {
res.send('Hello world!'); res.render('home');
}); });
app.listen(1025); app.listen(1025);