2019-01-03 18:23:22 +03:00
|
|
|
/**
|
2020-06-23 22:49:08 +03:00
|
|
|
* The settings with type "site" were originally meant to be public
|
2019-01-03 18:23:22 +03:00
|
|
|
* This has been misused - unsplash and slack are incorrectly stored there
|
|
|
|
* https://github.com/TryGhost/Ghost/issues/10318
|
|
|
|
*
|
|
|
|
* This file acts as a new whitelist for "public" settings
|
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
title: 'title',
|
|
|
|
description: 'description',
|
|
|
|
logo: 'logo',
|
|
|
|
icon: 'icon',
|
2020-06-23 15:33:57 +03:00
|
|
|
accent_color: 'accent_color',
|
2019-01-03 18:23:22 +03:00
|
|
|
cover_image: 'cover_image',
|
|
|
|
facebook: 'facebook',
|
|
|
|
twitter: 'twitter',
|
2020-06-22 13:27:05 +03:00
|
|
|
lang: 'lang',
|
2021-03-04 06:00:02 +03:00
|
|
|
locale: 'lang',
|
2020-06-22 14:21:00 +03:00
|
|
|
timezone: 'timezone',
|
2020-06-23 14:39:05 +03:00
|
|
|
codeinjection_head: 'codeinjection_head',
|
|
|
|
codeinjection_foot: 'codeinjection_foot',
|
2019-07-19 11:40:47 +03:00
|
|
|
navigation: 'navigation',
|
2019-12-04 07:12:02 +03:00
|
|
|
secondary_navigation: 'secondary_navigation',
|
2019-07-19 11:40:47 +03:00
|
|
|
meta_title: 'meta_title',
|
|
|
|
meta_description: 'meta_description',
|
|
|
|
og_image: 'og_image',
|
|
|
|
og_title: 'og_title',
|
|
|
|
og_description: 'og_description',
|
|
|
|
twitter_image: 'twitter_image',
|
|
|
|
twitter_title: 'twitter_title',
|
2020-08-27 17:57:50 +03:00
|
|
|
twitter_description: 'twitter_description',
|
|
|
|
members_support_address: 'members_support_address'
|
2019-01-03 18:23:22 +03:00
|
|
|
};
|