Added temporary footer

This commit is contained in:
Sahat Yalkabov
2013-11-19 23:19:53 -05:00
parent a3b5ab6e59
commit 0108b4349a
3 changed files with 12 additions and 4 deletions

View File

@ -7,3 +7,4 @@ Twilio
Etsy
Foursquare
New York Times
github

View File

@ -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) {

View File

@ -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')