Add theme stylesheet(s) to the crawler layout
This commit is contained in:
parent
13a5e41fca
commit
0997eb6486
|
@ -6,9 +6,12 @@
|
||||||
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
|
<meta name="description" content="<%= @description_meta || SiteSetting.site_description %>">
|
||||||
<%= render partial: "layouts/head" %>
|
<%= render partial: "layouts/head" %>
|
||||||
<%- if rtl? %>
|
<%- if rtl? %>
|
||||||
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
||||||
<%- else %>
|
<%- else %>
|
||||||
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile : :desktop) %>
|
||||||
|
<%- end %>
|
||||||
|
<%- if theme_key %>
|
||||||
|
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_theme : :desktop_theme) %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
<%= theme_lookup("head_tag") %>
|
<%= theme_lookup("head_tag") %>
|
||||||
<%= render_google_universal_analytics_code %>
|
<%= render_google_universal_analytics_code %>
|
||||||
|
|
Loading…
Reference in New Issue