Skip to content

feat: add preamble to old blog posts#1003

Open
nmggithub wants to merge 1 commit intoelectron:mainfrom
nmggithub:blog-post-preamble
Open

feat: add preamble to old blog posts#1003
nmggithub wants to merge 1 commit intoelectron:mainfrom
nmggithub:blog-post-preamble

Conversation

@nmggithub
Copy link
Contributor

Description of Change

Resolves #853.

Checklist

  • This PR was not created with AI. (PRs created mainly with AI will be closed. They waste our team's time. We ban repeat offenders.)

@nmggithub nmggithub requested a review from a team as a code owner February 2, 2026 00:25
postIsOld ? (
<Admonition type="warning">
<p>
This blog post is over { postAgeInYears } { postAgeInYears === 1 ? 'year' : 'years' } old.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This word copy can be adjusted as needed.

@nmggithub
Copy link
Contributor Author

@dsanders11 Just curious: what blog posts do you find would be helped by this preamble? It seems half of our blog posts are release notes, where the version number itself is a pretty big tell on if the post is old or not.

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.

Add Preamble When Viewing Old Blog Posts

1 participant