From 0721e9d1370109a1c0c96e3c3b3754a4c2ffc659 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sat, 25 Jan 2025 00:02:52 +0100 Subject: fix post edit count --- _plugins/filters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '_plugins/filters.rb') 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) -- cgit v1.2.3