Use layouts for news article pages - #5793
Open
andysellick wants to merge 3 commits into
Open
Conversation
- add presenter for news articles - switch controller to use new presenter and new layout
- moves the page history to the metadata component at the top of the page
andysellick
marked this pull request as ready for review
September 11, 2026 14:01
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Example pages:
Why
Moving pages to use layouts in order to reduce duplication and standardise layouts.
https://gov-uk.atlassian.net/jira/software/c/projects/PNP/boards/1356?quickFilter=1456&selectedIssue=PNP-10152
Removing published dates component relating to alphagov/govuk_publishing_components#5560
Visual changes
This removes the published dates component from the bottom of the content, and moves that content into the metadata component at the top of the page, containing it in a details component.
Otherwise shouldn't be anything beyond tiny spacing changes.