mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 12:13:58 -06:00
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 %>
|
||||
|
||||
<%- 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>
|
||||
|
@ -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 %>
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user