_nav.jade 328 B

12345678910
  1. ul
  2. li(class="#{ current.path[0] == 'index' ? 'current' : '' }")
  3. a(href="/") Home
  4. li(class="#{ current.path[0] == 'articles' ? 'current' : '' }")
  5. a(href="/articles") Articles
  6. li(class="#{ current.path[0] == 'about' ? 'current' : '' }")
  7. a(href="/about") About
  8. li
  9. a(href="/feed.atom") RSS
  10. li= current.source