-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add page last updated automatically #1227
Comments
Essentially rather than manually setting the date in frontmatter like this: ---
...
date: 3 March 2022
--- It would be great to have it defined as a boolean to enable the date for that particular page, then it can use the git history to populate the date last updated. ---
...
displayDateLastModified: true
--- (or some other key) ExamplesHere is an example of it in the current state: Example of how this gets outdated easily in the theme repo as well: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Add date page was last updated automatically rather than manually changing it in frontmatter.
Justification
It's very easy to overlook updating the date a page was updated every time you make a change. So having this done automatically solves that problem. Also gives you more relient information.
Desired UX and success metrics
Rather than setting the actual date in the front matter you can set it with a boolean to display the date last updated.
Must-have functionality
Automatically generate the tag at the bottom of the page with the last updated date. This can be either site wide, or on a per page basis.
Specific timeline issues / requests
No timeline
Available extra resources
Not a lot of time to look into adding this myself atm. May have some time in the future.
The text was updated successfully, but these errors were encountered: