Commit f0f4b848e98e276d8303f8fb48201a71b396cfd8

Authored by Athos
1 parent 8e5713cc

Add setting to avoid indexing duplicated content

Fixes #244
cookbooks/colab/templates/00-custom_settings.py.erb
... ... @@ -34,6 +34,10 @@ SISP_HOST = "<%= node['config']['sisp_external_hostname'] %>"
34 34 ALLOWED_HOSTS = ["<%= node['config']['external_hostname'] %>",
35 35 "<%= node['config']['sisp_external_hostname'] %>"]
36 36  
  37 +<% unless node['environment'] == "prod" %>
  38 +ROBOTS_NOINDEX = True
  39 +<% end %>
  40 +
37 41 ## Disable indexing
38 42 ROBOTS_NOINDEX = False
39 43  
... ...