Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use layout from frontend #12795

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

dblatcher
Copy link
Contributor

@dblatcher dblatcher commented Nov 8, 2024

What does this change?

Instead of using the hard coded newsletter layouts, the /email-newsletters pages gets the data from the frontend page model - see:

Why?

Will allow editorial to self-serve for changes to the page via the newsletters tool. This currently requires a PR.

Screenshots

data result
{"ok":true,"total":1,"data":{"UK":[{"title":"my collection","subtitle":"a set of newsletters","newsletters":["today-uk","front-page","morning-briefing"]},{"title":"In depth","newsletters":["today-uk","afternoon-update","any-time"]}]}} Screenshot 2024-11-08 at 17 50 49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant