Skip to content

Commit

Permalink
Replace custom_url -> preview_url
Browse files Browse the repository at this point in the history
  • Loading branch information
amyleadem committed Nov 26, 2024
1 parent cca2c85 commit 0a1b612
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions _includes/post-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
{% comment %}
Assign header link url
- default: link to the post's generated page
- custom: link to a custom location declared in `post.custom_url`
- custom: link to a custom location declared in `post.preview_url`
{% endcomment %}
{% assign post_url = site.baseurl | append: post.url %}
{% assign preview_url = post.custom_url | default: post_url %}
{% assign preview_url = post.preview_url | default: post_url %}

<article id="{{ post_id }}" class="post-preview">
<header class="post-preview__header">
Expand Down
2 changes: 1 addition & 1 deletion _posts/2024-10-15-sunsetting-uswds-1-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ tags:
- product update
category: About
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.
custom_url: https://v1.designsystem.digital.gov/
preview_url: https://v1.designsystem.digital.gov/
---
2 changes: 1 addition & 1 deletion _posts/2024-10-17-uswds-3.9.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ title: "Out now: USWDS 3.9.0"
tags:
- USWDS release
category: About
custom_url: https://github.com/uswds/uswds/releases/tag/v3.9.0
preview_url: https://github.com/uswds/uswds/releases/tag/v3.9.0
---
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ tags:
- discussion
category: About
excerpt: This National Disability Employment Awareness Month, we’re talking about how members of the design community go beyond visual design to create more inclusive user experiences. What steps are you taking to ensure that your website design is accessible to all?
custom_url: https://github.com/uswds/uswds/discussions/6109
preview_url: https://github.com/uswds/uswds/discussions/6109
---

0 comments on commit 0a1b612

Please sign in to comment.