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

Display latest news from blog on homepage #5016

Merged
merged 4 commits into from
Sep 12, 2024
Merged

Conversation

evansd
Copy link
Collaborator

@evansd evansd commented Sep 12, 2024

This replaces the sign-up form on the homepage with the latest three OpenPrescribing news posts from the Bennett blog. (Note that only two appear at the moment because there are only two matching posts.)

Screenshot from 2024-09-12 09-15-48

If, for whatever reason, the latest posts aren't available we fall back to a generic Bennett logo and a link to the blog.

Screenshot from 2024-09-12 09-16-22

No tests! Because this is a simple non-critical feature and I have other things to be doing.

Closes #4864

@richiecroker richiecroker merged commit 40fc82f into main Sep 12, 2024
5 checks passed
@richiecroker richiecroker deleted the evansd/news-feed branch September 12, 2024 16:44
Copy link
Contributor

@rebkwok rebkwok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

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

Successfully merging this pull request may close these issues.

Display "latest news" from Bennett blog in sidebar on homepage
3 participants