Added temporary footer
This commit is contained in:
@ -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) {
|
||||
|
@ -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')
|
||||
|
Reference in New Issue
Block a user