diff --git a/README.md b/README.md index a82766d8d9..52aa04c0c5 100644 --- a/README.md +++ b/README.md @@ -6,4 +6,5 @@ Twitter Twilio Etsy Foursquare -New York Times \ No newline at end of file +New York Times +github diff --git a/controllers/contact.js b/controllers/contact.js index 9caa18d5b7..fa8d931793 100644 --- a/controllers/contact.js +++ b/controllers/contact.js @@ -1,5 +1,8 @@ exports.getContact = function(req, res) { - res.render('contact'); + res.render('contact', { + title: 'Contact', + user: req.user + }); }; exports.postContact = function(req, res) { diff --git a/views/layout.jade b/views/layout.jade index 31d8bb1342..1fabc48c16 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -26,8 +26,8 @@ html ul.nav.navbar-nav li(class=title=='Home'?'active':undefined) a(href='/') Home - li(class=title=='About'?'active':undefined) - a(href='/api') API + li(class=title=='API Browser'?'active':undefined) + a(href='/api') API Browser li(class=title=='Contact'?'active':undefined) a(href='/contact') Contact ul.nav.navbar-nav.navbar-right @@ -44,6 +44,10 @@ html .container block content + footer + .container + p © 2013. All Rights Reserved. + script(src='/js/lib/jquery.js') script(src='/js/lib/bootstrap.js') script(src='/js/lib/jquery.validate.js')