mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
419e12d90a
no issue - Secondary navigation means most nav concepts are supported, e.g. header & footer, or left & right - The UI is added separately, this PR adds supporting concepts: - make sure the default value is an empty array - add support in the API (v3 only) - add handling in the navigation helper
32 lines
1 KiB
JavaScript
32 lines
1 KiB
JavaScript
/**
|
|
* The settings with type "blog" were originally meant to be public
|
|
* 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',
|
|
cover_image: 'cover_image',
|
|
facebook: 'facebook',
|
|
twitter: 'twitter',
|
|
default_locale: 'lang',
|
|
active_timezone: 'timezone',
|
|
// TODO: substitute ghost_head and ghost_foot with codeinjection_* when we drop v2 (Ghost 4.0)
|
|
ghost_head: 'ghost_head',
|
|
ghost_foot: 'ghost_foot',
|
|
navigation: 'navigation',
|
|
secondary_navigation: 'secondary_navigation',
|
|
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'
|
|
};
|