|
8 | 8 | <link>{{ "/" | absolute_url }}</link> |
9 | 9 | <description>A list of CircuitPython and Blinka supported boards</description> |
10 | 10 | <lastBuildDate>{{ "now" | date_to_rfc822 }}</lastBuildDate> |
11 | | -{% assign chronological_boards = site.board | sort: "date_added" %} |
12 | | -{% for board in chronological_boards reversed %} |
| 11 | +{% assign all_boards = site.board | concat: site.blinka | sort: "date_added" | reverse %} |
| 12 | +{% for board in all_boards %} |
13 | 13 | {%- if board.downloads_display == false -%} |
14 | 14 | {%- continue -%} |
15 | 15 | {%- endif -%} |
|
18 | 18 | <title>{{ board.name }}</title> |
19 | 19 | <link>{{ board.url | absolute_url }}</link> |
20 | 20 | <description><![CDATA[ {% include downloads/board_image.html board_image=board.board_image %}<p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description> |
| 21 | + {% if board.blinka %} |
| 22 | + <category>Blinka</category> |
| 23 | + {% else %} |
21 | 24 | <category>CircuitPython</category> |
22 | | - <pubDate>{{ board.date_added | date: '%s' | plus: twelve_hours | date_to_rfc822 }}</pubDate> |
| 25 | + {% endif %} |
| 26 | + <pubDate>{{ board.date_added | date: "%a, %d %b %Y 00:00:00 GMT" }}</pubDate> |
23 | 27 | <guid>{{ board.url | absolute_url }}</guid> |
24 | 28 | </item> |
25 | 29 | {%- endif -%} |
26 | 30 | {% endfor %} |
27 | | -{% assign chronological_blinka_boards = site.board | sort: "date_added" %} |
28 | | -{% for board in chronological_blinka_boards reversed %} |
29 | | - <item> |
30 | | - <title>{{ board.name }}</title> |
31 | | - <link>{{ board.url | absolute_url }}</link> |
32 | | - <description><![CDATA[ {% include downloads/board_image.html board_image=board.board_image %}<p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description> |
33 | | - <category>Blinka</category> |
34 | | - <pubDate>{{ board.date_added | date: '%s' | plus: twelve_hours | date_to_rfc822 }}</pubDate> |
35 | | - <guid>{{ board.url | absolute_url }}</guid> |
36 | | - </item> |
37 | | -{% endfor %} |
0 commit comments