From 8a284f5a6d14806370400b453eb753a825ed2724 Mon Sep 17 00:00:00 2001 From: foamyguy Date: Mon, 4 Nov 2024 09:16:22 -0600 Subject: [PATCH] fix comma spacing and extra comma at end of modules list --- _includes/download/board.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/_includes/download/board.html b/_includes/download/board.html index ad7db3b1d..c12d0d706 100644 --- a/_includes/download/board.html +++ b/_includes/download/board.html @@ -160,8 +160,7 @@

CircuitPython {{ version.version }}

{% else %} {% endif %} - {{ module_name }} - {% if module_name != version.modules[version.modules.size - 1] %}, {% endif %} + {{ module_name }}{% unless forloop.last %}, {% endunless %} {% endfor %}

@@ -172,8 +171,7 @@

CircuitPython {{ version.version }}

{% for module_name in version.frozen_libraries %} - {{ module_name }} - {% if module_name != version.frozen_libraries[version.frozen_libraries.size - 1] %}, {% endif %} + {{ module_name }}{% unless forloop.last %}, {% endunless %} {% endfor %}