Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sort rss feed with newest at top #1355

Merged
merged 1 commit into from Mar 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion _board/espressif_esp32s3_box_lite.md
Expand Up @@ -7,7 +7,7 @@ manufacturer: "Espressif"
board_url:
- "https://www.adafruit.com/product/5511"
board_image: "espressif_esp32s3_box_lite.jpg"
date_added: 22-07-08
date_added: 2022-07-08
family: esp32s3
features:
- Wi-Fi
Expand Down
2 changes: 1 addition & 1 deletion _board/lilygo_tdisplay_s3.md
Expand Up @@ -7,7 +7,7 @@ manufacturer: "LILYGO"
board_url:
- "https://www.lilygo.cc/products/t-display-s3"
board_image: "lilygo_tdisplay_s3.jpg"
date_added: 2024-3-9
date_added: 2024-3-09
family: esp32s3
features:
- Wi-Fi
Expand Down
6 changes: 4 additions & 2 deletions feed.html
Expand Up @@ -8,7 +8,8 @@
<link>{{ "/" | absolute_url }}</link>
<description>A list of CircuitPython and Blinka supported boards</description>
<lastBuildDate>{{ "now" | date_to_rfc822 }}</lastBuildDate>
{% for board in site.board %}
{% assign chronological_boards = site.board | sort: "date_added" %}
{% for board in chronological_boards reversed %}
{%- if board.downloads_display == false -%}
{%- continue -%}
{%- endif -%}
Expand All @@ -23,7 +24,8 @@
</item>
{%- endif -%}
{% endfor %}
{% for board in site.blinka %}
{% assign chronological_blinka_boards = site.board | sort: "date_added" %}
{% for board in chronological_blinka_boards reversed %}
<item>
<title>{{ board.name }}</title>
<link>{{ board.url | absolute_url }}</link>
Expand Down