diff --git a/app/views/list/list.erb b/app/views/list/list.erb index 6bbcebe5b..df4dffd4d 100644 --- a/app/views/list/list.erb +++ b/app/views/list/list.erb @@ -1,3 +1,5 @@ +<%- unless mobile_view? %> + <% if @category %>

<% if @category.parent_category %> @@ -39,6 +41,8 @@ <% end %> +<%- end %> + <% if @rss %> <% content_for :head do %> <%= auto_discovery_link_tag(:rss, "#{Discourse.base_url}/posts.rss", title: I18n.t("rss_description.posts")) %> diff --git a/app/views/topics/show.html.erb b/app/views/topics/show.html.erb index b4d0a95cc..d08fca398 100644 --- a/app/views/topics/show.html.erb +++ b/app/views/topics/show.html.erb @@ -20,6 +20,8 @@ <%= server_plugin_outlet "topic_header" %>
+<%- unless mobile_view? %> + <% @topic_view.posts.each do |post| %>
<% if (u = post.user) %> @@ -54,6 +56,8 @@
<% end %> +<% end %> + <% 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) %>