mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 05:43:38 +08:00
14 lines
388 B
Plaintext
14 lines
388 B
Plaintext
<%- unless SiteCustomization.override_default_style(session[:preview_style]) %>
|
|
<% if mobile_view? %>
|
|
<%= stylesheet_link_tag "mobile" %>
|
|
<% else %>
|
|
<%= stylesheet_link_tag "desktop" %>
|
|
<% end %>
|
|
<%- end %>
|
|
|
|
<%- if staff? %>
|
|
<%= stylesheet_link_tag "admin"%>
|
|
<%-end%>
|
|
|
|
<%= SiteCustomization.custom_stylesheet(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|