Add a "last updated" field or revision history to blog posts
Summary
I'd like to suggest a feature, that would allow to keep the original publication date but provide means to document changes to posts visible to the reader. Blog authors could also choose to sort the posts in listings according to original publication date or by the "last updated" date.
Details and example
In the rendered blog post, the "last updated" date would be shown e.g. next to the publication date or at the beginning of the article. Taking the idea further, there could be a revision history to make changes transparent/visible to the readers. This revision history would be collapsed by default below the publication date, but can be extended to show all changes.
Here's an example of what I'm suggesting:.
In the YAML header an author could add a date and a string indicating what was added, e.g.
date: 2021-08-20 <-- this is the original publication date
updates:
- date: 2021-08-22
comment: |
There was an error in the code creating Fig. 2 (thank's to the reader pointing this out).
Now comes a long explanation, what went wrong, that is interesting to share,
but would not fit in the blog-text, as it is not relevant for someone who just wants
to read the current version of the post...
- date: 2022-05-01
comment: Re-ran the code with the latest data, however this doesn't change the final result much.
In the _site.yml there could be an option to choose, whether the blog sorts the posts according to the original date or the "last updated" date.
I'm not sure if this is a need felt by many users, but I still hope, you'll consider it.