Skip to content

Instantly share code, notes, and snippets.

@radhenazarkar
Created March 7, 2016 16:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save radhenazarkar/98fac8908f66dbdf8321 to your computer and use it in GitHub Desktop.
Save radhenazarkar/98fac8908f66dbdf8321 to your computer and use it in GitHub Desktop.
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