diff --git a/app/views/list/list.erb b/app/views/list/list.erb index 0ac6b2821fb..92d76d635eb 100644 --- a/app/views/list/list.erb +++ b/app/views/list/list.erb @@ -49,6 +49,13 @@ <% end %> + + <% content_for :head do %> + <% if params[:page].to_i > 0 %> + + <% end %> + + <% end %> <% end %> <%- end %> diff --git a/app/views/topics/plain.html.erb b/app/views/topics/plain.html.erb index 82da8dd745f..b6d9a3f865a 100644 --- a/app/views/topics/plain.html.erb +++ b/app/views/topics/plain.html.erb @@ -4,6 +4,12 @@ <%= @topic_view.topic.title %> <%= raw crawlable_meta_data(title: @topic_view.title, description: @topic_view.summary, image: @topic_view.image_url, read_time: @topic_view.read_time, like_count: @topic_view.like_count) %> + <% if @topic_view.prev_page %> + + <% end %> + <% if @topic_view.next_page %> + + <% end %> <% @topic_view.posts.each do |post| %> diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index e3e785685c9..4e1b80972a9 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -80,6 +80,15 @@ <% content_for :head do %> <%= auto_discovery_link_tag(@topic_view, {action: :feed, slug: @topic_view.topic.slug, topic_id: @topic_view.topic.id}, title: t('rss_posts_in_topic', topic: @topic_view.title), type: 'application/rss+xml') %> <%= raw crawlable_meta_data(title: @topic_view.title, description: @topic_view.summary, image: @topic_view.image_url, read_time: @topic_view.read_time, like_count: @topic_view.like_count) %> + + <% if @topic_view.prev_page || @topic_view.next_page %> + <% if @topic_view.prev_page %> + + <% end %> + <% if @topic_view.next_page %> + + <% end %> + <% end %> <% end %> <% content_for(:title) { "#{@topic_view.page_title}" } %>