mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
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 %>">
|
||||
<%= render partial: "layouts/head" %>
|
||||
<%- if rtl? %>
|
||||
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
||||
<%= discourse_stylesheet_link_tag(mobile_view? ? :mobile_rtl : :desktop_rtl) %>
|
||||
<%- 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 %>
|
||||
<%= theme_lookup("head_tag") %>
|
||||
<%= render_google_universal_analytics_code %>
|
||||
|
Loading…
Reference in New Issue
Block a user