From 4e744e232e775714c6d15ed7c9ea46860a5c36b5 Mon Sep 17 00:00:00 2001 From: Justin Bassett Date: Thu, 23 Dec 2021 12:42:28 -0500 Subject: [PATCH] Group integrations better (#20840) --- plugins/filters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/filters.rb b/plugins/filters.rb index 4976c732fc1..58d34f22daa 100644 --- a/plugins/filters.rb +++ b/plugins/filters.rb @@ -97,7 +97,7 @@ module Jekyll major = split_ver[0] minor = split_ver[1] - if minor.length == 1 + if major.length == 4 || minor.length == 1 "#{major}.X" else "#{major}.#{minor.chop}X"