mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 15:16:19 +08:00
Merge pull request #3159 from riking/patch-6
FIX: Add Google Analytics code to crawler view
This commit is contained in:
commit
e2a65a6605
|
@ -8,6 +8,7 @@
|
||||||
<%- unless customization_disabled? %>
|
<%- unless customization_disabled? %>
|
||||||
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
<%= render_google_universal_analytics_code %>
|
||||||
<%= yield :head %>
|
<%= yield :head %>
|
||||||
<style>
|
<style>
|
||||||
img { max-width: 100%; width: auto; height: auto; }
|
img { max-width: 100%; width: auto; height: auto; }
|
||||||
|
@ -26,5 +27,9 @@
|
||||||
<footer class="container">
|
<footer class="container">
|
||||||
<p><%= t 'powered_by_html' %></p>
|
<p><%= t 'powered_by_html' %></p>
|
||||||
</footer>
|
</footer>
|
||||||
|
<%= render_google_analytics_code %>
|
||||||
|
<%- unless customization_disabled? %>
|
||||||
|
<%= raw SiteCustomization.custom_body_tag(session[:preview_style]) %>
|
||||||
|
<%- end %>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user