diff --git a/app/views/layouts/_head.html.erb b/app/views/layouts/_head.html.erb index 83a0bb75b..5a8d2b5a2 100644 --- a/app/views/layouts/_head.html.erb +++ b/app/views/layouts/_head.html.erb @@ -4,4 +4,6 @@ + + <%= canonical_link_tag %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index fccbfb268..533587e35 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -8,7 +8,6 @@ <%= render partial: "common/special_font_face" %> <%= render partial: "common/discourse_stylesheet" %> <%= discourse_csrf_tags %> - <%- if SiteSetting.enable_escaped_fragments? %> diff --git a/app/views/layouts/crawler.html.erb b/app/views/layouts/crawler.html.erb index 89d713999..96001338d 100644 --- a/app/views/layouts/crawler.html.erb +++ b/app/views/layouts/crawler.html.erb @@ -9,27 +9,19 @@ <%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %> <%- end %> <%= yield :head %> - + <%- unless customization_disabled? %> <%= SiteCustomization.custom_header(session[:preview_style]) %> <%- end %> -
-
-
-
-
- -
-
-
-
+
+
- <%= yield %> -