Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var express = require('express'),
router = express.Router();
router.get('/', function(req, res) {
res.render('index.html', {
page: {
name: 'Home' // config used in view. nunjuck compile this config
}
});
});
module.exports = router;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment