mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 07:16:48 +08:00
22d5ba0f77
This is a more logical order, since themes are more lightweight than plugins, and are often used to augment plugin styles
19 lines
666 B
Plaintext
19 lines
666 B
Plaintext
<%- if rtl? %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
|
<%- else %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
|
|
<%- end %>
|
|
|
|
<%- if staff? %>
|
|
<%= discourse_stylesheet_link_tag(:admin) %>
|
|
<%- end %>
|
|
|
|
<%- 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 %>
|
|
|
|
<%- if theme_ids.present? %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
<%- end %>
|
|
|