DEV: consistent theme lookup in application / crawler / no-ember views (#7955)

* removes `raw` helpers

* include theme footer in the crawler view

* include theme body tag content in no-ember pages
This commit is contained in:
Joe 2019-07-31 01:00:46 +08:00 committed by Régis Hanol
parent a1fb718340
commit 340173eb12
3 changed files with 6 additions and 4 deletions

View File

@ -34,9 +34,9 @@
<%- end %>
<%- unless customization_disabled? %>
<%= raw theme_translations_lookup %>
<%= raw theme_js_lookup %>
<%= raw theme_lookup("head_tag") %>
<%= theme_translations_lookup %>
<%= theme_js_lookup %>
<%= theme_lookup("head_tag") %>
<%- end %>
<%= render_google_tag_manager_head_code %>
@ -112,7 +112,7 @@
<%= preload_script 'browser-update' %>
<%- unless customization_disabled? %>
<%= raw theme_lookup("body_tag") %>
<%= theme_lookup("body_tag") %>
<%- end %>
<%= build_plugin_html 'server:before-body-close' %>
</body>

View File

@ -45,6 +45,7 @@
</nav>
<p class='powered-by-link'><%= t 'powered_by_html' %></p>
</footer>
<%= theme_lookup("footer") %>
<%= theme_lookup("body_tag") %>
</body>
<%= yield :after_body %>

View File

@ -22,6 +22,7 @@
</div>
</section>
<%= theme_lookup("footer") %>
<%= theme_lookup("body_tag") %>
<%= build_plugin_html 'no-client:footer' %>
<%= build_plugin_html 'server:before-body-close' %>
</body>