Navigation Menu

Skip to content

Commit

Permalink
Output pager only if found
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Aug 21, 2012
1 parent 220da15 commit 451479d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions views/search.jade
Expand Up @@ -17,8 +17,8 @@ block content

.row
.span9
include pager
if records.length > 0
include pager
each record, index in records
.record
h2
Expand All @@ -32,7 +32,7 @@ block content
span »

!{record.data.desc}
include pager
include pager

.span3
if pathFacets.length > 0
Expand Down

0 comments on commit 451479d

Please sign in to comment.