Bezig met het toevoegen van stylesheets en jade templates.
This commit is contained in:
parent
0095217280
commit
d98d8a4dbd
|
@ -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
|
|
@ -1 +1,3 @@
|
||||||
|
body {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
2
web.js
2
web.js
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue