This was used to discourage crawlers from crawling certain pages we didn't want them to crawl, primarily post searches. Remove because there are better ways to control crawling. Some of these links weren't even visible to crawlers anyway. This lets us be consistent about only applying rel="nofollow" to external links.
20 lines
793 B
Plaintext
20 lines
793 B
Plaintext
<footer id="page-footer">
|
|
Running <%= Danbooru.config.app_name %>
|
|
<% if Rails.application.config.x.git_hash %>
|
|
(<%= link_to Rails.application.config.x.git_hash.first(9), Danbooru.config.commit_url(Rails.application.config.x.git_hash) %>)
|
|
<% end %>
|
|
– <%= link_to "Rules", terms_of_service_path %>
|
|
– <%= link_to "Contact", contact_path %>
|
|
<% if CurrentUser.user.enable_post_navigation %>
|
|
<span id="keyboard-shortcuts-link" class="desktop-only">
|
|
– <%= link_to "Keyboard shortcuts", keyboard_shortcuts_path %>
|
|
</span>
|
|
<% end %>
|
|
<% if CurrentUser.is_member? %>
|
|
<span id="desktop-version-link" class="mobile-only">
|
|
–
|
|
<%= link_to "Disable responsive mode", edit_user_path(CurrentUser.id) %>
|
|
</span>
|
|
<% end %>
|
|
</footer>
|