2021-06-18 10:16:26 +08:00
|
|
|
<%= discourse_stylesheet_link_tag 'publish', theme_id: nil %>
|
2020-04-29 00:24:24 +08:00
|
|
|
|
2020-09-13 19:50:23 +08:00
|
|
|
<%- if rtl? %>
|
|
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :publish_mobile_rtl : :publish_mobile_rtl) %>
|
|
|
|
<%- else %>
|
|
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :publish_mobile : :publish_desktop) %>
|
|
|
|
<%- end %>
|
|
|
|
|
2020-04-29 00:24:24 +08:00
|
|
|
<%- Discourse.find_plugin_css_assets(include_official: allow_plugins?, include_unofficial: allow_third_party_plugins?, mobile_view: mobile_view?, desktop_view: !mobile_view?, request: request).each do |file| %>
|
|
|
|
<%= discourse_stylesheet_link_tag(file) %>
|
|
|
|
<%- end %>
|
|
|
|
|
2021-06-15 14:57:17 +08:00
|
|
|
<%- if theme_id.present? %>
|
2020-04-29 00:24:24 +08:00
|
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
|
|
<%- end %>
|