-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Mark blogs older than a year as outdated #31594
Mark blogs older than a year as outdated #31594
Conversation
✔️ Deploy Preview for kubernetes-io-main-staging ready! 🔨 Explore the source changes: 1a88ffd 🔍 Inspect the deploy log: https://app.netlify.com/sites/kubernetes-io-main-staging/deploys/61fa8f6207d370000841d0a8 😎 Browse the preview: https://deploy-preview-31594--kubernetes-io-main-staging.netlify.app |
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.
@chalin thank you for this!
/lgtm
I've made some suggestions to make the work easier for localization teams, and to lay the ground if we want to use a more subtle style for the deprecation notice.
What do you think?
LGTM label has been added. Git tree hash: ffdf4fe8e8a2e6f427bfd11691ad2b007d4e0d89
|
/area web-development |
Co-authored-by: Tim Bannister <[email protected]>
Co-authored-by: Tim Bannister <[email protected]>
8326bc6
to
662be2b
Compare
662be2b
to
6de4f5b
Compare
Great suggestions @sftim, thanks! I've updated the PR. PTAL |
{{ $title := .Param "outdated_blog.title" | default (T "outdated_blog_title") -}} | ||
{{ $msg := .Param "outdated_blog.message" | default (T "outdated_blog_over_one_year_old") -}} |
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.
I think that I'll pull out the .Param "outdated_blog.*
parts, since it isn't fully functional (at least not as I envision it) and it isn't needed for marking blogs that are a year or older. (I'll do that tomorrow.)
@sftim @nate-double-u : final cleanup done, this is ready for your review. |
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.
/lgtm
/approve
Thanks @chalin
/area blog |
LGTM label has been added. Git tree hash: 2aeb83be5d8c69ce10a011196354a06bc8da7998
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sftim The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@sftim @nate-double-u - Btw, I did want to mention one minor (IMHO) glitch: the Japanese blog landing page gets marked as outdated, presumable because it contains a single blog entry that is itself outdated — see https://kubernetes.io/ja/blog/ IMHO, this is a docsy (or Hugo) glitch, no worth writing custom layout code for. This might be fixed in a more recent version of Docsy. Let me know if you're ok with this glitch or whether you'd like for me to investigate further. |
That's probably worth opening an issue for, even if we mark it as an upstream problem. |
Done: #31601 |
Preview, for example, see:
Screenshot:
/cc @nate-double-u