-
Notifications
You must be signed in to change notification settings - Fork 182
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
USWDS-Site - What's new: Create posts_short directory and add new items #3064
base: al-whats-new-updates-feature-branch
Are you sure you want to change the base?
USWDS-Site - What's new: Create posts_short directory and add new items #3064
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
Note There is a new html-proofer build error. I will work on building a fix in a separate PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified changes and resolved comments. Thanks @amyleadem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking good! Great work, Amy and team!
…ats-new-directory-change
…ats-new-directory-change
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
Summary
_/posts_short
directory to the site and moved all "what's new" content that did not have an attached post to this directory._posts_short
will be integrated with the items inside_posts
in 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
/_posts
directory 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_short
and set theoutput
for 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
/_posts
and/_post-previews
in the expected sort order/_post-previews
output: false
tooutput:true
in _config.yml in your local build, you should no longer get a 404 for that url./_posts