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 %>
|
<%- end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<p><%= t 'powered_by_html' %></p>
|
|
|
@ -54,6 +54,9 @@
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
<!-- :preload-content -->
|
<!-- :preload-content -->
|
||||||
</div>
|
</div>
|
||||||
|
<footer id='bottom' class="container">
|
||||||
|
<p><%= t 'powered_by_html' %></p>
|
||||||
|
</footer>
|
||||||
</noscript>
|
</noscript>
|
||||||
|
|
||||||
<!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]-->
|
<!--[if IE 9]><script type="text/javascript">ie = "new";</script><![endif]-->
|
||||||
|
|
|
@ -38,5 +38,8 @@
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
<!-- :preload-content -->
|
<!-- :preload-content -->
|
||||||
</div>
|
</div>
|
||||||
|
<footer id='bottom' class="container">
|
||||||
|
<p><%= t 'powered_by_html' %></p>
|
||||||
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<footer id='bottom'>
|
<footer id='bottom' class="container">
|
||||||
</footer>
|
</footer>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -18,8 +18,6 @@
|
||||||
</p>
|
</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<p><%= t 'powered_by_html' %></p>
|
|
||||||
|
|
||||||
<% if @rss %>
|
<% if @rss %>
|
||||||
<% content_for :head do %>
|
<% content_for :head do %>
|
||||||
<%= auto_discovery_link_tag(:rss, {action: "#{@rss}_feed"}, title: I18n.t("rss_description.#{@rss}")) %>
|
<%= 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>
|
||||||
|
|
||||||
|
|
||||||
<p><%= t 'powered_by_html' %></p>
|
|
||||||
|
|
||||||
<% content_for :head do %>
|
<% 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') %>
|
<%= 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,
|
<%= crawlable_meta_data(title: @topic_view.title,
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
<p><%= raw @user.user_profile.bio_processed %></p>
|
<p><%= raw @user.user_profile.bio_processed %></p>
|
||||||
|
|
||||||
<p><%= t 'powered_by_html' %></p>
|
|
||||||
|
|
||||||
<% content_for :head do %>
|
<% content_for :head do %>
|
||||||
<%= crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %>
|
<%= crawlable_meta_data(title: @user.username, description: @user.user_profile.bio_summary, image: @user.small_avatar_url) %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue