lib/milkode/cdweb/lib/search_files.rb in milkode-0.2.0 vs lib/milkode/cdweb/lib/search_files.rb in milkode-0.2.1
- old
+ new
@@ -66,10 +66,10 @@
def pagination_link(offset, label)
tmpp = @params
tmpp[:offset] = offset.to_s
href = Mkurl.new("", tmpp).inherit_query_shead_offset
- pagination_span("<a href='#{href}'>#{label}</a>")
+ pagination_span("<a href='#{href}' rel='next'>#{label}</a>")
end
def pagination_span(content)
"<span class='pagination-link'>#{content}</span>\n"
end