devopera icon indicating copy to clipboard operation
devopera copied to clipboard

Add automated "this article might be deprecated" functionality

Open andreasbovens opened this issue 11 years ago • 1 comments
trafficstars

General proposal is to automatically add a "this article might be deprecated" type of notice (exact string TBD) to every article older than 1 year (exact time span TBD), unless otherwise indicated.

  1. Jekyll looks at YAML metadata to see if there is an updated property with a date value that's less than 1 year ago. If it is older, insert notice; if it's not, don't insert notice. If there is no value, continue to step 2.
  2. Jekyll looks at date in blog post file name: if there it's older, insert notice, if it's not, don't insert notice.

Once this is there, we can bring back more old articles.

andreasbovens avatar Sep 17 '14 17:09 andreasbovens

Also somewhat related: https://github.com/operasoftware/devopera/issues/18

andreasbovens avatar Oct 01 '14 09:10 andreasbovens