gjtorikian / jekyll-last-modified-at

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

Add support for files in Git submodules #82

Closed maximevaillancourt closed 1 year ago

maximevaillancourt commented 3 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 1 year ago

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