A Simple Way to Display 'Last Updated' on Docusaurus Docs Articles
· 4 min read
This post outlines a simple implementation for displaying a "Last Updated" date on our Docusaurus documentation articles to indicate the freshness of the information.
Unlike the Blog
folder, the Docs
folder does not display creation dates by default, so we decided to add this feature.
We opted for a method using Front Matter, which doesn't rely on Git history and requires no changes to our CI/CD setup.
References: