Skip to content

Add review date to page


When maintaining a site that people rely on, you need to ensure that people can easily see the validity of the information presented to them.

By adding a banner at the top of the page explaining that the page has not been reviewed recently, it builds more trust


On the header of the page

When creating a page on this site, the first few lines are yaml

Include the below

title: Add review date to page
+reviewdate: '2023-10-22'

Formatting the page

  • Ensure that the date is surrounded with ' otherwise we get an error
  • Do not use # (h1) or it will break the formatting

Your page should look like the below

title: Add review date to page
reviewdate: '2023-10-22'

## Why

See it in actions


TypeError: '<'

Full error

TypeError: '<' not supported between instances of '' and 'str'


-reviewdate: 2023-10-22
+reviewdate: '2023-10-22'

Want to make this site better? Open a PR or help fund hosting costs