mirror of
https://github.com/discourse/discourse.git
synced 2024-11-30 09:23:44 +08:00
10 lines
456 B
Plaintext
10 lines
456 B
Plaintext
<%= discourse_stylesheet_link_tag 'publish', theme_id: nil %>
|
|
|
|
<%- 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_id.present? %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
<%- end %>
|