mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Group integrations better (#20840)
This commit is contained in:
parent
c34af1ec3a
commit
4e744e232e
@ -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"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user