Put the 'Powered by Discourse...' message shown to crawlers and no-js visitors in a footer element so that SEO something something.

This commit is contained in:
Neil Lalonde 2014-06-19 17:32:26 -04:00
parent eeeb834b6b
commit 82693daa3d
8 changed files with 8 additions and 11 deletions

View File

@ -9,6 +9,4 @@
<%- end %>
</div>
</div>
<% end %>
<p><%= t 'powered_by_html' %></p>
<% end %>

View File

@ -54,6 +54,9 @@
<%= yield %>
<!-- :preload-content -->
</div>
<footer id='bottom' class="container">
<p><%= t 'powered_by_html' %></p>
</footer>
</noscript>
<!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]-->

View File

@ -38,5 +38,8 @@
<%= yield %>
<!-- :preload-content -->
</div>
<footer id='bottom' class="container">
<p><%= t 'powered_by_html' %></p>
</footer>
</body>
</html>

View File

@ -37,7 +37,7 @@
<%= yield %>
</div>
</section>
<footer id='bottom'>
<footer id='bottom' class="container">
</footer>
</body>
</html>

View File

@ -18,8 +18,6 @@
</p>
<% end %>
<p><%= t 'powered_by_html' %></p>
<% if @rss %>
<% content_for :head do %>
<%= auto_discovery_link_tag(:rss, {action: "#{@rss}_feed"}, title: I18n.t("rss_description.#{@rss}")) %>

View File

@ -1 +0,0 @@
<p><%= t 'powered_by_html' %></p>

View File

@ -33,8 +33,6 @@
</p>
<p><%= t 'powered_by_html' %></p>
<% content_for :head do %>
<%= auto_discovery_link_tag(@topic_view, {action: :feed, slug: @topic_view.topic.slug, topic_id: @topic_view.topic.id}, title: t('rss_posts_in_topic', topic: @topic_view.title), type: 'application/rss+xml') %>
<%= crawlable_meta_data(title: @topic_view.title,

View File

@ -2,8 +2,6 @@
<p><%= raw @user.user_profile.bio_processed %></p>
<p><%= t 'powered_by_html' %></p>
<% content_for :head do %>
<%= crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %>
<% end %>