mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
PERF: Shrink mobile payload, don't render for noscript on mobile
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
<%- unless mobile_view? %>
|
||||
|
||||
<% if @category %>
|
||||
<h1>
|
||||
<% if @category.parent_category %>
|
||||
@@ -39,6 +41,8 @@
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<%- end %>
|
||||
|
||||
<% if @rss %>
|
||||
<% content_for :head do %>
|
||||
<%= auto_discovery_link_tag(:rss, "#{Discourse.base_url}/posts.rss", title: I18n.t("rss_description.posts")) %>
|
||||
|
||||
Reference in New Issue
Block a user