A Hexo plugin that sets post.updated
using the last Git commit time.
npm install hexo-filter-updated-from-git --save
_config.yml
:
# If no "updated" in front-matter, then leave post.updated undefined.
updated_option: 'empty'
You need to hexo clean && hexo g
to run this filter on all posts.
This project is licensed under the ISC License.