Skip to content

Commit 47ea9b8

Browse files
authored
Merge pull request #1518 from FoamyGuy/swap_dl_btns
swap the .BIN and .UF2 download buttons
2 parents 1b561ed + 5c9c94b commit 47ea9b8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_includes/download/board.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,8 @@ <h3>CircuitPython {{ version.version }}</h3>
131131
</select>
132132
</label>
133133
<div class="download-buttons">
134-
{% for extension in version.extensions %}
134+
{% assign reverse_extensions = version.extensions | reverse %}
135+
{% for extension in reverse_extensions %}
135136
<a class="download-button {% if version.stable %}stable{% else %}unstable{% endif %} {{ extension }}" href="{{ download_url }}/en_US/adafruit-circuitpython-{{ board_id }}-en_US-{{ version.version }}.{{ extension }}">DOWNLOAD .{{ extension | upcase }} NOW <i class="fas fa-download" aria-hidden="true"></i></a>
136137
{% endfor %}
137138
{% if page.family == 'esp32s2' or page.family == 'esp32c3' or page.family == 'esp32s3' or page.family == 'esp32' or page.family == 'esp32c6' %}

0 commit comments

Comments
 (0)