gjtorikian / jekyll-last-modified-at

A Jekyll plugin to show the last_modified_at time of a post.
MIT License
244 stars 39 forks source link

Add support for files in Git submodules #82

Closed maximevaillancourt closed 2 years ago

maximevaillancourt commented 4 years ago

This pull request adds support for files in Git submodules within a given project. Without this pull request, all files within a Git submodule report their "last modified" date as the timestamp of the commit that updated the submodule.

I've manually tested this locally against two Jekyll sites: one that doesn't use Git submodules, and one that does. Both behave correctly.

However, I'm struggling to find a good way to test this. @gjtorikian, I would appreciate a bit of help to test this out properly.

maximevaillancourt commented 2 years ago

Closing as inactive. Feel free to reopen and merge. :)