Is it possible to show "previous versions" or releases for a single blog post? #13972
-
|
Hi everyone, I've been using Quarto for my blog. I update my posts frequently as I learn new things, and I'd like readers to see that history, basically a "this post has been updated" indicator or a way to view previous versions. I know GitHub tracks commits, but is there a way to surface that on the actual page? Something like a "View previous version" link or archived HTML? I've looked through the docs but haven't found anything. If this isn't built-in or I'm approaching this wrong, let me know. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
You can use If you want to show "previous versions", you have to render them somehow. |
Beta Was this translation helpful? Give feedback.
You can use
date-modifiedto show the date at which the document was modified in addition to the publication datedate).If you want to show "previous versions", you have to render them somehow.
Have a Lua filter or pre-render that retrieves the "versions" do something with it that can be rendered by Quarto.
For short, it's possible, but you have to create the workflow for this.