USWDS-Site - What's new: Create posts_short directory and add new items#3064
Open
amyleadem wants to merge 64 commits intoal-whats-new-updates-feature-branchfrom
Open
USWDS-Site - What's new: Create posts_short directory and add new items#3064amyleadem wants to merge 64 commits intoal-whats-new-updates-feature-branchfrom
amyleadem wants to merge 64 commits intoal-whats-new-updates-feature-branchfrom
Conversation
Added October Accessibility discussion update.
Added update about sunsetting 1.0
Adding November accessibility discussion blurb
Added november 3.10.0 release blurb
Added blurb about Figma design kit beta
Added November monthly call blurb
added tag so it will appear
Added tag so it'll display on the page
Added tag so it'll display on the page
Added tag so it'll display on the page
corrected my markup on tags
corrected my markup on tags
Corrected markup on tags
corrected tags markup
Added tag so it'll display on the page
Added tag so it'll display on the page
Added tag so it'll display on the page
…atsNew-24updates
…ats-new-directory-change
This was referenced Jan 24, 2025
Contributor
Author
|
Note There is a new html-proofer build error. I will work on building a fix in a separate PR. |
mejiaj
previously approved these changes
Jan 28, 2025
Contributor
mejiaj
left a comment
There was a problem hiding this comment.
Verified changes and resolved comments. Thanks @amyleadem.
finekatie
approved these changes
Jan 28, 2025
Contributor
finekatie
left a comment
There was a problem hiding this comment.
This is looking good! Great work, Amy and team!
…ats-new-directory-change
…ats-new-directory-change
Contributor
Author
|
Note: I updated the base branch on this PR to go into a feature branch instead of |
USWDS-Site - POAM: February ‘25
USWDS-Site: Update snyk ignore
…ats-new-directory-change
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.
Summary
_/posts_shortdirectory to the site and moved all "what's new" content that did not have an attached post to this directory._posts_shortwill be integrated with the items inside_postsin the "What's new" feed.Related PRs
This PR is the first step in the effort to re-organize and update the content and layout of the what's new page. I broke the prototype work into three different PRs so that we can lower the review burden. Here is my proposed merge order for the PRs:
Related issue
Closes #2989
The README instructions for creating posts and post-previews will be added in #3047.
Preview link
Problem statement
Outdated content on what's new page
What's new page is out of date after recent page merge and reworking how content can be added. Need new news items added.
Post previews added to _posts generated empty pages
Adding preview-only items to the
/_postsdirectory caused the site to build empty posts, which is unnecessary and bad for SEO.Solution
Outdated content on what's new page
Blurbs were written up for events from October and November, reviewed and approved with feds and posts were created.
Post previews added to _posts generated empty pages
We created a separate collection for
/_posts_shortand set theoutputfor this collection tofalse. This means that no pages will be generated for these files.Anatomy of a short post
Example data structure for short posts with a link
Example data structure for short posts without a link
Testing and review
Content
Devs
/_postsand/_post-previewsin the expected sort order/_post-previewsoutput: falsetooutput:truein _config.yml in your local build, you should no longer get a 404 for that url./_posts