li{class="#{'current' if page.current?}"}
  = link_to(page, page.current? ? '#' : url,
           { :remote => remote,
              :rel => page.next? ? 'next' : page.prev? ? 'prev' : nil })