0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/unit/data
Kevin Ansfield 446993a905
Added additional newsletter customisation settings (#13074)
refs https://github.com/TryGhost/Team/issues/793

New settings added for newsletter customisation options:

- `newsletter_header_image` - `null/"$url"`
- `newsletter_show_header_icon` - `"true/false"`
- `newsletter_show_header_title` - `"true/false"`
- `newsletter_title_alignment` - `"center/left"`
- `newsletter_title_font_category` - `"serif/sans_serif"`
- `newsletter_show_feature_image` - `"true/false"`

`newsletter_show_header` has been dropped because the same functionality can be achieved by setting both `newsletter_show_header_icon` and `newsletter_show_header_title` to `false`

---

- migration to convert and delete `newsletter_show_header` setting
- removed `newsletter_show_header` from default settings to ensure it doesn't get re-created
- replaced main labs template and template settings generation with the labs template
- deleted labs template
2021-06-21 13:40:40 +01:00
..
db Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
exporter Added additional newsletter customisation settings (#13074) 2021-06-21 13:40:40 +01:00
importer Updated to use config-url-helpers in urlUtils 2021-06-18 21:49:28 +01:00
meta Swapped out usage of stubUrlUtils for configUtils 2021-06-21 11:07:30 +01:00
migrations Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
schema Added additional newsletter customisation settings (#13074) 2021-06-21 13:40:40 +01:00
xml/sitemap Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00