From 82693daa3d073805d4beb80e052b0630496387a0 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 19 Jun 2014 17:32:26 -0400 Subject: [PATCH] Put the 'Powered by Discourse...' message shown to crawlers and no-js visitors in a footer element so that SEO something something. --- app/views/categories/index.html.erb | 4 +--- app/views/layouts/application.html.erb | 3 +++ app/views/layouts/crawler.html.erb | 3 +++ app/views/layouts/no_js.html.erb | 2 +- app/views/list/list.erb | 2 -- app/views/list/top.erb | 1 - app/views/topics/show.html.erb | 2 -- app/views/users/show.html.erb | 2 -- 8 files changed, 8 insertions(+), 11 deletions(-) diff --git a/app/views/categories/index.html.erb b/app/views/categories/index.html.erb index 1818e4d0658..176da771241 100644 --- a/app/views/categories/index.html.erb +++ b/app/views/categories/index.html.erb @@ -9,6 +9,4 @@ <%- end %> -<% end %> - -

<%= t 'powered_by_html' %>

\ No newline at end of file +<% end %> \ No newline at end of file diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index eab4ec5bc6b..e5668394a64 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -54,6 +54,9 @@ <%= yield %> + diff --git a/app/views/layouts/crawler.html.erb b/app/views/layouts/crawler.html.erb index db93fa15d49..c1c4475f051 100644 --- a/app/views/layouts/crawler.html.erb +++ b/app/views/layouts/crawler.html.erb @@ -38,5 +38,8 @@ <%= yield %> + diff --git a/app/views/layouts/no_js.html.erb b/app/views/layouts/no_js.html.erb index 623d6e520fa..bb9a232d7ac 100644 --- a/app/views/layouts/no_js.html.erb +++ b/app/views/layouts/no_js.html.erb @@ -37,7 +37,7 @@ <%= yield %> -