Skip to content

Instantly share code, notes, and snippets.

@radhenazarkar
Created March 7, 2016 16:18
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