mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
FIX: Add Google Analytics code to crawler view
This commit is contained in:
parent
8304c306a4
commit
c6e27399b3
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue