From 6be501333aea51ea8ec839ca299d6c81f45acc95 Mon Sep 17 00:00:00 2001 From: kuuuube Date: Fri, 25 Sep 2026 14:13:47 -0400 Subject: [PATCH] Fix goofy 0.6.7 and 0.6.7.0 in plugin driver version dropdown --- site/_layouts/plugins.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/site/_layouts/plugins.html b/site/_layouts/plugins.html index 6fdd057..0df3377 100644 --- a/site/_layouts/plugins.html +++ b/site/_layouts/plugins.html @@ -27,7 +27,13 @@ {%- endfor -%} {%- assign latestotdversion = site.data.otd-versions | last -%} - {%- assign otdversions = otdversions | push: latestotdversion | sort | uniq | reverse -%} + {%- assign latestotdversionext = site.data.otd-versions | last | append: ".0" -%} + + {% unless otdversions contains latestotdversion or otdversions contains latestotdversionext %} + {%- assign otdversions = otdversions | push: latestotdversion -%} + {% endunless %} + + {%- assign otdversions = otdversions | sort | uniq | reverse -%} {% assign elementAttributes = " selected" %}