Skip to content

Commit 1315cda

Browse files
committed
sort rss feed with newest at top
1 parent ec8c704 commit 1315cda

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

_board/espressif_esp32s3_box_lite.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manufacturer: "Espressif"
77
board_url:
88
- "https://www.adafruit.com/product/5511"
99
board_image: "espressif_esp32s3_box_lite.jpg"
10-
date_added: 22-07-08
10+
date_added: 2022-07-08
1111
family: esp32s3
1212
features:
1313
- Wi-Fi

_board/lilygo_tdisplay_s3.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ manufacturer: "LILYGO"
77
board_url:
88
- "https://www.lilygo.cc/products/t-display-s3"
99
board_image: "lilygo_tdisplay_s3.jpg"
10-
date_added: 2024-3-9
10+
date_added: 2024-3-09
1111
family: esp32s3
1212
features:
1313
- Wi-Fi

feed.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
<link>{{ "/" | absolute_url }}</link>
99
<description>A list of CircuitPython and Blinka supported boards</description>
1010
<lastBuildDate>{{ "now" | date_to_rfc822 }}</lastBuildDate>
11-
{% for board in site.board %}
11+
{% assign chronological_boards = site.board | sort: "date_added" %}
12+
{% for board in chronological_boards reversed %}
1213
{%- if board.downloads_display == false -%}
1314
{%- continue -%}
1415
{%- endif -%}
@@ -23,7 +24,8 @@
2324
</item>
2425
{%- endif -%}
2526
{% endfor %}
26-
{% for board in site.blinka %}
27+
{% assign chronological_blinka_boards = site.board | sort: "date_added" %}
28+
{% for board in chronological_blinka_boards reversed %}
2729
<item>
2830
<title>{{ board.name }}</title>
2931
<link>{{ board.url | absolute_url }}</link>

0 commit comments

Comments
 (0)