Exposed announcement settings in Content API

refs https://github.com/TryGhost/Team/issues/3011

- Allows to read following settings fields:
  - announcement - alias to announcement_content
  - announcement_background
This commit is contained in:
Naz 2023-04-19 16:01:40 +02:00
parent 388a625f37
commit de41b07228
No known key found for this signature in database
3 changed files with 9 additions and 1 deletions

View File

@ -39,5 +39,7 @@ module.exports = {
portal_plans: 'portal_plans',
portal_name: 'portal_name',
portal_button: 'portal_button',
comments_enabled: 'comments_enabled'
comments_enabled: 'comments_enabled',
announcement: 'announcement_content',
announcement_background: 'announcement_background'
};

View File

@ -5,6 +5,8 @@ Object {
"meta": Object {},
"settings": Object {
"accent_color": "#FF1A75",
"announcement": null,
"announcement_background": "dark",
"codeinjection_foot": null,
"codeinjection_head": null,
"comments_enabled": "off",

View File

@ -1339,6 +1339,8 @@ Object {
"meta": Object {},
"settings": Object {
"accent_color": "#FF1A75",
"announcement": null,
"announcement_background": "dark",
"codeinjection_foot": null,
"codeinjection_head": null,
"comments_enabled": "off",
@ -1435,6 +1437,8 @@ Object {
"meta": Object {},
"settings": Object {
"accent_color": "#FF1A75",
"announcement": null,
"announcement_background": "dark",
"codeinjection_foot": null,
"codeinjection_head": null,
"comments_enabled": "off",