adds setting to add per page code on <head> and <body>
This commit is contained in:
@@ -32,7 +32,8 @@ Setting.create(key: 'feature.twitter_login', value: "true")
|
||||
Setting.create(key: 'feature.facebook_login', value: "true")
|
||||
Setting.create(key: 'feature.google_login', value: "true")
|
||||
Setting.create(key: 'feature.signature_sheets', value: "true")
|
||||
Setting.create(key: 'per_page_code', value: "")
|
||||
Setting.create(key: 'per_page_code_head', value: "")
|
||||
Setting.create(key: 'per_page_code_body', value: "")
|
||||
Setting.create(key: 'comments_body_max_length', value: '1000')
|
||||
Setting.create(key: 'mailer_from_name', value: 'Consul')
|
||||
Setting.create(key: 'mailer_from_address', value: 'noreply@consul.dev')
|
||||
|
||||
@@ -38,8 +38,11 @@ Setting["months_to_archive_proposals"] = 12
|
||||
# Emails under the domain's subdomains will also be included
|
||||
Setting["email_domain_for_officials"] = ''
|
||||
|
||||
# Code to be included at the top (header) of every page (useful for tracking)
|
||||
Setting['per_page_code'] = ''
|
||||
# Code to be included at the top (inside <head>) of every page (useful for tracking)
|
||||
Setting['per_page_code_head'] = ''
|
||||
|
||||
# Code to be included at the top (inside <body>) of every page
|
||||
Setting['per_page_code_body'] = ''
|
||||
|
||||
# Social settings
|
||||
Setting["twitter_handle"] = nil
|
||||
|
||||
Reference in New Issue
Block a user