mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 17:18: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? %>
|
||||
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
||||
<%- end %>
|
||||
<%= render_google_universal_analytics_code %>
|
||||
<%= yield :head %>
|
||||
<style>
|
||||
img { max-width: 100%; width: auto; height: auto; }
|
||||
|
@ -26,5 +27,9 @@
|
|||
<footer class="container">
|
||||
<p><%= t 'powered_by_html' %></p>
|
||||
</footer>
|
||||
<%= render_google_analytics_code %>
|
||||
<%- unless customization_disabled? %>
|
||||
<%= raw SiteCustomization.custom_body_tag(session[:preview_style]) %>
|
||||
<%- end %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue
Block a user