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/filters.rb | |
parent | ca3d6e59baade9eafdf5b1d35be617a9947f4d06 (diff) |
fix post edit count
Diffstat (limited to '_plugins/filters.rb')
-rw-r--r-- | _plugins/filters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_plugins/filters.rb b/_plugins/filters.rb index 95a5c78..c4ee527 100644 --- a/_plugins/filters.rb +++ b/_plugins/filters.rb @@ -10,7 +10,7 @@ module Filters end def plural(num, counter) - return "#{num} #{counter}#{counter == 1 ? '' : 's'}" + return "#{num} #{counter}#{num == 1 ? '' : 's'}" end def post_sort(posts, sort_by) |