Group integrations better (#20840)

This commit is contained in:
Justin Bassett 2021-12-23 12:42:28 -05:00 committed by GitHub
parent c34af1ec3a
commit 4e744e232e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ module Jekyll
major = split_ver[0] major = split_ver[0]
minor = split_ver[1] minor = split_ver[1]
if minor.length == 1 if major.length == 4 || minor.length == 1
"#{major}.X" "#{major}.X"
else else
"#{major}.#{minor.chop}X" "#{major}.#{minor.chop}X"