2019-01-03 10:23:22 -05:00
|
|
|
/**
|
2020-06-23 14:49:08 -05:00
|
|
|
* The settings with type "site" were originally meant to be public
|
2019-01-03 10:23:22 -05: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',
|
2019-12-17 05:45:31 -05:00
|
|
|
brand: 'brand',
|
2019-01-03 10:23:22 -05:00
|
|
|
cover_image: 'cover_image',
|
|
|
|
facebook: 'facebook',
|
|
|
|
twitter: 'twitter',
|
2020-06-22 05:27:05 -05:00
|
|
|
lang: 'lang',
|
2020-06-22 06:21:00 -05:00
|
|
|
timezone: 'timezone',
|
2019-09-23 05:59:00 -05:00
|
|
|
// TODO: substitute ghost_head and ghost_foot with codeinjection_* when we drop v2 (Ghost 4.0)
|
2019-01-03 10:23:22 -05:00
|
|
|
ghost_head: 'ghost_head',
|
|
|
|
ghost_foot: 'ghost_foot',
|
2019-07-19 03:40:47 -05:00
|
|
|
navigation: 'navigation',
|
2019-12-03 23:12:02 -05:00
|
|
|
secondary_navigation: 'secondary_navigation',
|
2019-07-19 03:40:47 -05: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',
|
|
|
|
twitter_description: 'twitter_description'
|
2019-01-03 10:23:22 -05:00
|
|
|
};
|