jeffgeerling-com icon indicating copy to clipboard operation
jeffgeerling-com copied to clipboard

Add warning on posts more than 10 years old

Open geerlingguy opened this issue 3 years ago • 2 comments

I'd like to add a little info / warning bubble to the top of any post more than 10 years old (since my blog has a lot of old posts, some with outdated info that hasn't been updated and could be incorrect or misleading):

This post is more than 10 years old. I do not delete posts, because even old information is still useful, but please know that some material on this page may be outdated or incorrect. Thanks!

geerlingguy avatar Jul 04 '22 01:07 geerlingguy

I am guilty of archiving old posts. I for one, do not trust wayback machines. And I don;t trust magnetic tapes. Keep being you.

darkcactus1957 avatar Jul 04 '22 01:07 darkcactus1957

@darkcactus1957 - Heh, I just like having it available. For technical posts, it can be a good point-in-time reference. For philosophical/life-related posts, it can be a good view into long-term changes in attitude or approach.

geerlingguy avatar Jul 04 '22 02:07 geerlingguy

I've added a block, but I need to pull it local, export it in config, and arrange for its appearance on nodes 10+ years old: https://www.jeffgeerling.com/admin/content/block/4

geerlingguy avatar Jul 19 '24 20:07 geerlingguy

Screenshot 2024-07-19 at 11 00 14 PM

About as good as I can muster using the built-in 'warning' CSS so I don't have to code up some display.

geerlingguy avatar Jul 20 '24 04:07 geerlingguy