mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-06 14:44:13 +08:00
Followup to 4d0a817f40
https://meta.discourse.org/t/published-page-css-not-showing-on-frontend/369642
10 lines
541 B
Text
10 lines
541 B
Text
<%= 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, rtl: rtl?).each do |file| %>
|
|
<%= discourse_stylesheet_link_tag(file) %>
|
|
<%- end %>
|
|
|
|
<%- if theme_id.present? %>
|
|
<%= discourse_stylesheet_link_tag(:common_theme, supports_rtl: true) %>
|
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
|
<%- end %>
|