Skip to content

Commit 2fc0802

Browse files
committed
disabled link for hellip symbol and active page
1 parent 7470940 commit 2fc0802

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/liquid-rails/filters/misc_filter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ def bootstrap_pagination(paginate, size='')
6060
if part['is_link']
6161
html << %(<li><a href="#{part['url']}">#{part['title']}</a></li>)
6262
elsif part['title'].to_i == paginate['current_page'].to_i
63-
html << %(<li class="active"><a href="#">#{part['title']}</a></li>)
63+
html << %(<li class="active"><span>#{part['title']}</span></li>)
6464
else
65-
html << %(<li><a href="#">#{part['title']}</a></li>)
65+
html << %(<li class="disabled"><span>#{part['title']}</span></li>)
6666
end
6767
end
6868

0 commit comments

Comments
 (0)