mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
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:
parent
388a625f37
commit
de41b07228
@ -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'
|
||||
};
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user