Initial commit
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
module.exports.index = function(req, res, render, next) {
|
||||
|
||||
res.setHeader('Content-Type', 'text/html');
|
||||
render('index.pug', res.locals)
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
'/' : 'index'
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
extends ../../../views/main.pug
|
||||
|
||||
block content
|
||||
p.
|
||||
Hello world !
|
||||
Reference in New Issue
Block a user