Skip to content
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

Override date for Pants 2.20 blog post #191

Merged
merged 3 commits into from
Apr 16, 2024

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Apr 16, 2024

After merging #182, I realised that I'd forgotten to update date to the publish date ("today") and thus it's quite wrong, because we took so long to get 2.20 out the door. This PR fixes this by overriding the date in the YAML front matter, so that it is displayed correctly in the post metadata so users aren't confused about when 2.20 was released. This doesn't change the filename because that would change the URL.

Comparison: note the date next to "2 min read".

Before:

image

After:

image

@huonw
Copy link
Contributor Author

huonw commented Apr 16, 2024

Filed #192 for potentially eliminating dates from filenames.

Copy link
Contributor

@benjyw benjyw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@huonw huonw merged commit d25486c into pantsbuild:main Apr 16, 2024
1 check passed
@huonw huonw deleted the huonw/re-date-pants-2-20 branch April 16, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants