Blogs and Project pages do not have a last modified time, this is necessary for others to know if content has been changed after they viewed the page.
Modified time can be set manually, but it will become cumbersome when more pages are added.
Possible ways to automate this.
- Medium difficulty: Use git pre-commit hooks to see which file was updated and use it to update blogs.json and projects.json files.
- Hard: Consider using a DB and publish pages using an interface, this would mean that an authentication mechanism is needed.
Blogs and Project pages do not have a last modified time, this is necessary for others to know if content has been changed after they viewed the page.
Modified time can be set manually, but it will become cumbersome when more pages are added.
Possible ways to automate this.
1. Medium difficulty: Use [git pre-commit hooks](https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks) to see which file was updated and use it to update blogs.json and projects.json files.
2. Hard: Consider using a DB and publish pages using an interface, this would mean that an authentication mechanism is needed.