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:
parent
eeeb834b6b
commit
82693daa3d
|
@ -9,6 +9,4 @@
|
|||
<%- end %>
|
||||
</div>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<p><%= t 'powered_by_html' %></p>
|
||||
<% end %>
|
|
@ -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]-->
|
||||
|
|
|
@ -38,5 +38,8 @@
|
|||
<%= yield %>
|
||||
<!-- :preload-content -->
|
||||
</div>
|
||||
<footer id='bottom' class="container">
|
||||
<p><%= t 'powered_by_html' %></p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
<%= yield %>
|
||||
</div>
|
||||
</section>
|
||||
<footer id='bottom'>
|
||||
<footer id='bottom' class="container">
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -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}")) %>
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
<p><%= t 'powered_by_html' %></p>
|
|
@ -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,
|
||||
|
|
|
@ -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 %>
|
||||
|
|
Loading…
Reference in New Issue