2019-01-03 15:23:22 +00:00
|
|
|
/**
|
2020-06-23 20:49:08 +01:00
|
|
|
* The settings with type "site" were originally meant to be public
|
2019-01-03 15:23:22 +00:00
|
|
|
* This has been misused - unsplash and slack are incorrectly stored there
|
|
|
|
* https://github.com/TryGhost/Ghost/issues/10318
|
|
|
|
*
|
2022-04-19 11:01:19 +01:00
|
|
|
* This file acts as an allowlist for "public" settings
|
2019-01-03 15:23:22 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
title: 'title',
|
|
|
|
description: 'description',
|
|
|
|
logo: 'logo',
|
|
|
|
icon: 'icon',
|
2020-06-24 00:33:57 +12:00
|
|
|
accent_color: 'accent_color',
|
2019-01-03 15:23:22 +00:00
|
|
|
cover_image: 'cover_image',
|
|
|
|
facebook: 'facebook',
|
|
|
|
twitter: 'twitter',
|
2020-06-22 22:27:05 +12:00
|
|
|
lang: 'lang',
|
2021-03-04 16:00:02 +13:00
|
|
|
locale: 'lang',
|
2020-06-22 23:21:00 +12:00
|
|
|
timezone: 'timezone',
|
2020-06-23 23:39:05 +12:00
|
|
|
codeinjection_head: 'codeinjection_head',
|
|
|
|
codeinjection_foot: 'codeinjection_foot',
|
2019-07-19 10:40:47 +02:00
|
|
|
navigation: 'navigation',
|
2019-12-04 04:12:02 +00:00
|
|
|
secondary_navigation: 'secondary_navigation',
|
2019-07-19 10:40:47 +02: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 20:27:50 +05:30
|
|
|
twitter_description: 'twitter_description',
|
|
|
|
members_support_address: 'members_support_address'
|
2019-01-03 15:23:22 +00:00
|
|
|
};
|