Skip to content

Commit

Permalink
Cleleaning up navbar and some views.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrMaksimize committed Feb 21, 2014
1 parent 2aeb63e commit 111864f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
6 changes: 1 addition & 5 deletions views/home.jade
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
extends layout

block content
h1 Bootstrap starter template
p.lead
| Use this document as a way to quickly start any new project.
br
| All you get is this text and a mostly barebones HTML document.
h1 Why I Love Puerto Rico
ul
for note in notes
li= note.text
Expand Down
6 changes: 2 additions & 4 deletions views/partials/navigation.jade
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@
a.navbar-brand(href='/') I Love Puerto Rico
.collapse.navbar-collapse
ul.nav.navbar-nav
li(class=title=='Home'?'active':undefined)
a(href='/') Home
li(class=title=='New Note'?'active':undefined)
a(href='/note/new') New Note
li(class=title=='API Browser'?'active':undefined)
a(href='/api') API Browser
//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
Expand Down

0 comments on commit 111864f

Please sign in to comment.