added support for disabling indexing by google using SiteSetting.allow_index_in_robots_txt = false

This commit is contained in:
Sam Saffron
2013-02-11 11:02:57 +11:00
parent 8250586306
commit c50a9e4d01
7 changed files with 54 additions and 3 deletions

View File

@@ -102,6 +102,8 @@ class SiteSetting < ActiveRecord::Base
# we need to think of a way to force users to enter certain settings, this is a minimal config thing
setting(:notification_email, 'info@discourse.org')
setting(:allow_index_in_robots_txt, true)
setting(:send_welcome_message, true)
setting(:twitter_consumer_key, '')