Skip to content

Commit

Permalink
add no index to home layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Kong committed Oct 4, 2024
1 parent a720029 commit 5ea9fdd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/QuillLMS/app/views/layouts/home.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
<% if Rails.env.development? %>
<title>[DEV] <%= @title %></title>
<%= favicon_link_tag 'favicon-dev.ico' %>
<% elsif Rails.env.staging? %>
<title>[Staging] <%= @title || 'Interactive Writing and Grammar' %></title>
<%= favicon_link_tag 'favicon-staging.ico' %>
<meta name="robots" content="noindex">
<% else %>
<title><%= @title %></title>
<%= favicon_link_tag 'favicon.ico' %>
Expand Down

0 comments on commit 5ea9fdd

Please sign in to comment.