diff --git a/app.js b/app.js index 6f8440e..66246d3 100644 --- a/app.js +++ b/app.js @@ -302,6 +302,14 @@ app.use(express.logger('dev')) app.use(express.static(__dirname + '/public')) + +app.get('/old', function (req, res) { //get index and renders it + res.render('index', + { title : 'Home' } + ) +}) + + app.get('/', function (req, res) { res.render('test', { title : 'Home' } diff --git a/views/layout.jade b/views/layout.jade index 2788a32..7bfd7aa 100755 --- a/views/layout.jade +++ b/views/layout.jade @@ -32,7 +32,7 @@ html - + #container