mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
rel="prev" and rel="next" for topic also
This commit is contained in:
@@ -15,9 +15,13 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
|
||||
<% if @topic_view.next_page %>
|
||||
<p>
|
||||
<b><%= link_to(t('next_page').html_safe, @topic_view.next_page_path ) %></b>
|
||||
<% if params[:page].to_i > 1 %>
|
||||
<a href="" rel="prev"><%= t 'prev_page'%></a>
|
||||
<% end %>
|
||||
<b><a href="<%= @topic_view.next_page_path %>" rel="next"><%= t 'next_page'%></a></b>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user