-
Notifications
You must be signed in to change notification settings - Fork 201
USWDS-Site - What's new: Create posts_short directory and add new items #3064
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
Open
amyleadem
wants to merge
64
commits into
al-whats-new-updates-feature-branch
Choose a base branch
from
al-whats-new-directory-change
base: al-whats-new-updates-feature-branch
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
7c5b73f
Added october news update to What's New
finekatie 097c684
changed file name
finekatie ade2a08
Create 2024-10-19-a11ydiscussionoctober.md
finekatie 5b9f64a
Create 2024-10-15-sunsetUSWDS1.0.md
finekatie 71216fa
Create 2024-11-04-a11ydiscussionnovember.md
finekatie 0c7230c
Create 2024-11-15-uswds3.10.0releasepost.md
finekatie a766685
Create 2024-11-20-figmadesignkitbeta.md
finekatie 6082ee1
Create 2024-12-12-novmcQA.md
finekatie ebba8a8
Update 2024-10-15-sunsetUSWDS1.0.md
finekatie 50308c4
Update 2024-10-17-uswds3.9.0releasepost.md
finekatie d148146
Update 2024-10-19-a11ydiscussionoctober.md
finekatie b58bb55
Update 2024-11-04-a11ydiscussionnovember.md
finekatie 14a708a
Update 2024-10-15-sunsetUSWDS1.0.md
finekatie 81a0555
Update 2024-10-17-uswds3.9.0releasepost.md
finekatie 33cffe4
Update 2024-10-19-a11ydiscussionoctober.md
finekatie c0e5075
Update 2024-11-04-a11ydiscussionnovember.md
finekatie d1332a7
Update 2024-11-15-uswds3.10.0releasepost.md
finekatie 60c2cf5
Update 2024-11-20-figmadesignkitbeta.md
finekatie f94caf5
Update 2024-12-12-novmcQA.md
finekatie 049a215
Add markdownify to excerpts
5a34007
Merge branch 'main' of https://github.com/uswds/uswds-site into kf-Wh…
fed3932
Updated markup in title to include colons
finekatie 07c4993
Added dashes to filename
finekatie 75dab01
Changed filename and added dashes
finekatie 635672a
Updated filename and added dashes
finekatie 6ef166c
Added dashes to filename
finekatie 48a9b86
Removed 24 from filename - was already there
finekatie 215c164
Added colon to title
finekatie 8d24cda
Updated filename and added dashes
finekatie 7dec7b4
Added dashes to filename
finekatie 172def5
Added dashes to filename
finekatie 5e647c3
Corrected code on tags to fix display
finekatie 23e1b7f
Move post previews to _post-previews directory
6a00825
Add test file to _posts
02c4303
Update file name for sunset v1 docs
c6aaa2d
Add conditional for "none" preview_url
480580c
Update file name for 3.0 intro post
9aa9e1e
Fix incomplete unless statement
112e668
Format code
0591bda
Remove test "whats-new" code from config
c865ec9
Remove post_preview key; format code
cd60d15
Simplify all_posts assignment
60e4745
Update test post content
90a5589
Remove permalink from post_previews collection
3a25f58
Update preview_url -> url; update post -> preview
097dd74
Update preview -> post; url -> preview_url
709bd56
Update comment on post-preview.html
4614055
Update post_previews->posts_short; remove category data
086a50f
Format code
amyleadem 21e848e
Add comment for false output for posts_short
amyleadem eb43973
Merge branch 'main' of https://github.com/uswds/uswds-site into al-wh…
17939b9
Added better excerpt about release 3.10.0
finekatie f5745db
Added better excerpt for 3.9.0 release
finekatie a02b72e
Added better excerpt for 3.9.0 release
finekatie 1c45773
Added better excerpt for 3.9.0 release
finekatie 199c5a7
Remove test post
9825418
Merge branch 'main' of https://github.com/uswds/uswds-site into al-wh…
14a3f25
cb: update gems and packages on site.
cathybaptista 2b9089c
Merge branch 'main' of https://github.com/uswds/uswds-site into al-wh…
d23268b
Copy tweaks
83ec259
Merge pull request #3114 from uswds/cb-poam-feb-25
heymatthenry 9a533f2
Update snyk ignore for INFLIGHT
d753549
Merge pull request #3121 from uswds/al-snyk-feb
heymatthenry afadeda
Merge branch 'main' of https://github.com/uswds/uswds-site into al-wh…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -4,13 +4,12 @@ | |
| - `/about/whats-new/all` | ||
| {% endcomment %} | ||
|
|
||
| {% assign post = include.post %} | ||
| {% assign post_id = post.title | default: post.id | slugify %} | ||
|
|
||
| {% comment %} | ||
| Assign header link url | ||
| - default: link to the post's generated page | ||
| - custom: link to a custom location declared in `post.preview_url` | ||
| - posts: link to the post's generated page | ||
| - posts_short: link to a custom location declared in `preview_url` | ||
| {% endcomment %} | ||
| {% assign post_url = site.baseurl | append: post.url %} | ||
| {% assign preview_url = post.preview_url | default: post_url %} | ||
|
|
@@ -22,17 +21,21 @@ | |
| </p> | ||
|
|
||
| <{{ include.heading | default:"h2" }} class="post-preview__title"> | ||
| <a href="{{ preview_url }}"> | ||
| {{ post.title }} | ||
| </a> | ||
| {% unless preview_url == "none" %} | ||
| <a href="{{ preview_url }}"> | ||
| {% endunless %} | ||
|
Comment on lines
+24
to
+26
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Note This check allows us to remove the link from the preview header by adding |
||
| {{ post.title }} | ||
| {% unless preview_url == "none" %} | ||
| </a> | ||
| {% endunless %} | ||
| </{{ include.heading | default:"h2" }}> | ||
|
|
||
| {% include post-meta.html %} | ||
| </header> | ||
|
|
||
| <div class="post-preview__content site-prose"> | ||
| <p> | ||
| {{ post.lead | default: post.excerpt }} | ||
| {{ post.lead | default: post.excerpt | markdownify }} | ||
| </p> | ||
| </div> | ||
| </article> | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: Sunsetting the USWDS 1.0 documentation site | ||
| tags: | ||
| - Product updates | ||
| excerpt: It's been over five years since we launched USWDS 2.0 and moved on from USWDS v1. We archived the USWDS v1 documentation site a few years back, and at the end of 2024 we'll be taking it offline. Content will likely still be available via archive.org. | ||
| preview_url: none | ||
| --- |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: USWDS 3.9.0 is out now | ||
| tags: | ||
| - Releases | ||
| excerpt: "Updates include: Date picker accessibility fix, accessibility and usability improvement to memorable date and new setting for custom breakpoints." | ||
| preview_url: https://github.com/uswds/uswds/releases/tag/v3.9.0 | ||
| --- |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: "Accessibility focus: Going beyond visual design for better user experiences" | ||
| tags: | ||
| - Accessibility | ||
| excerpt: This National Disability Employment Awareness Month, we talked about how members of the design community go beyond visual design to create user experiences. What steps are you taking to ensure that your website design is accessible to all? | ||
| preview_url: https://github.com/uswds/uswds/discussions/6109 | ||
| --- |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: 'Accessibility focus: An “autocompletely” useful WCAG technique!' | ||
| tags: | ||
| - Accessibility | ||
| excerpt: Does your site or product ask for personal info? If so, how are you putting [WCAG 1.3.5](https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose) into practice? | ||
| preview_url: https://github.com/uswds/uswds/discussions/6177 | ||
| --- |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: USWDS 3.10.0 is out now | ||
| tags: | ||
| - Releases | ||
| excerpt: We fixed a bug on file input image previews, updated the order of combo box search results and updated the time picker hint text to improve clarity. | ||
| preview_url: https://github.com/uswds/uswds/releases/tag/v3.10.0 | ||
| --- |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: USWDS Figma design kit beta is live | ||
| tags: | ||
| - Product updates | ||
| excerpt: Our new official design kit beta contains 42 USWDS components built with USWDS design tokens, using variables and smart layouts. Updates, improvements, and changes will be coming over the next few months. | ||
| preview_url: https://www.figma.com/community/file/1440921849343185329/uswds-design-kit-beta | ||
| --- |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| title: November monthly call Q&A | ||
| tags: | ||
| - Monthly calls | ||
| excerpt: Attendees at the [November monthly call](https://digital.gov/event/2024/11/21/uswds-monthly-call-november-2024/) asked about the new Figma design kit, how the direction of USWDS would affect the current codebase, and more. | ||
| preview_url: https://github.com/uswds/uswds/discussions/6252 | ||
| --- |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.