UX: Include message when crawler content is omitted (#26325)

To improve performance, we omit the basic-HTML version of pages when users are logged in, or when they are using a modern mobile device. This can be confusing when analysing the SEO of sites, so this commit adds a short static message when content is omitted.
This commit is contained in:
David Taylor
2024-03-22 17:24:57 +00:00
committed by GitHub
parent f7b73f3d70
commit 4a7e69d8ee
3 changed files with 6 additions and 2 deletions

View File

@@ -126,7 +126,8 @@
<link rel="next" href="<%= @list.more_topics_url -%>">
<% end %>
<% end %>
<% else %>
<%= t(:crawler_content_hidden) %>
<%- end %> <!-- include_crawler_content? -->
<% if @rss %>