diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 00:02:52 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2025-01-25 00:02:52 +0100 |
commit | 0721e9d1370109a1c0c96e3c3b3754a4c2ffc659 (patch) | |
tree | a4c85c349585487dccd72ba1bc53dfada270e354 /_plugins/meta.rb | |
parent | ca3d6e59baade9eafdf5b1d35be617a9947f4d06 (diff) |
fix post edit count
Diffstat (limited to '_plugins/meta.rb')
-rw-r--r-- | _plugins/meta.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/_plugins/meta.rb b/_plugins/meta.rb index 5caa6b6..d1d4a24 100644 --- a/_plugins/meta.rb +++ b/_plugins/meta.rb @@ -40,6 +40,7 @@ class Meta < Jekyll::Generator data['authors'] = git_log.map{ |c| c['author'] }.uniq data['date_initial'] = git_log.first['date'] data['date'] = git_log.last['date'] + data['edits'] = git_log.length - 1 # original commit is not an edit return data end end |