mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
In web crawler mode, don't show a previous link on a page with 0 results. Google will index those pages and keep following the prev links.
This commit is contained in:
parent
fca6738212
commit
cf7a3e74ee
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
|
||||
<p>
|
||||
<% if @topic_view.prev_page %>
|
||||
<% if @topic_view.posts.length > 0 && @topic_view.prev_page %>
|
||||
<%= link_to t(:prev_page), @topic_view.prev_page_path, rel: 'prev' %>
|
||||
<% end %>
|
||||
<% if @topic_view.next_page %>
|
||||
|
|
Loading…
Reference in a new issue