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:
parent
a1fb718340
commit
340173eb12
|
@ -34,9 +34,9 @@
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
<%- unless customization_disabled? %>
|
<%- unless customization_disabled? %>
|
||||||
<%= raw theme_translations_lookup %>
|
<%= theme_translations_lookup %>
|
||||||
<%= raw theme_js_lookup %>
|
<%= theme_js_lookup %>
|
||||||
<%= raw theme_lookup("head_tag") %>
|
<%= theme_lookup("head_tag") %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
|
|
||||||
<%= render_google_tag_manager_head_code %>
|
<%= render_google_tag_manager_head_code %>
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
<%= preload_script 'browser-update' %>
|
<%= preload_script 'browser-update' %>
|
||||||
|
|
||||||
<%- unless customization_disabled? %>
|
<%- unless customization_disabled? %>
|
||||||
<%= raw theme_lookup("body_tag") %>
|
<%= theme_lookup("body_tag") %>
|
||||||
<%- end %>
|
<%- end %>
|
||||||
<%= build_plugin_html 'server:before-body-close' %>
|
<%= build_plugin_html 'server:before-body-close' %>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
</nav>
|
</nav>
|
||||||
<p class='powered-by-link'><%= t 'powered_by_html' %></p>
|
<p class='powered-by-link'><%= t 'powered_by_html' %></p>
|
||||||
</footer>
|
</footer>
|
||||||
|
<%= theme_lookup("footer") %>
|
||||||
<%= theme_lookup("body_tag") %>
|
<%= theme_lookup("body_tag") %>
|
||||||
</body>
|
</body>
|
||||||
<%= yield :after_body %>
|
<%= yield :after_body %>
|
||||||
|
|
|
@ -22,6 +22,7 @@
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<%= theme_lookup("footer") %>
|
<%= theme_lookup("footer") %>
|
||||||
|
<%= theme_lookup("body_tag") %>
|
||||||
<%= build_plugin_html 'no-client:footer' %>
|
<%= build_plugin_html 'no-client:footer' %>
|
||||||
<%= build_plugin_html 'server:before-body-close' %>
|
<%= build_plugin_html 'server:before-body-close' %>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in New Issue