Ghost/core/server/services/settings/public.js
Naz Gargol c3a80f112a
Exposed site SEO data through Conent API & {{@site.*}} helper (#10925)
refs #10921

- Site SEO data will now be available as part of `GET /settings` response in Content API as well as part of {{@site.*}} helper
2019-07-19 10:40:47 +02:00

31 lines
888 B
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',
ghost_head: 'ghost_head',
ghost_foot: 'ghost_foot',
navigation: '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'
};