File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 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
- {% for board in site.board %}
11
+ {% assign all_boards = site.board | concat: site.blinka | sort: "date_added" | reverse %}
12
+ {% for board in all_boards %}
12
13
{%- if board.downloads_display == false -%}
13
14
{%- continue -%}
14
15
{%- endif -%}
17
18
< title > {{ board.name }}</ title >
18
19
< link > {{ board.url | absolute_url }}</ link >
19
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 %}
20
24
< category > CircuitPython</ category >
21
- < pubDate > {{ board.date_added | date: '%s' | plus: twelve_hours | date_to_rfc822 }}</ pubDate >
25
+ {% endif %}
26
+ < pubDate > {{ board.date_added | date_to_rfc822 }}</ pubDate >
22
27
< guid > {{ board.url | absolute_url }}</ guid >
23
28
</ item >
24
29
{%- endif -%}
25
30
{% endfor %}
26
- {% for board in site.blinka %}
27
- < item >
28
- < title > {{ board.name }}</ title >
29
- < link > {{ board.url | absolute_url }}</ link >
30
- < description > <![CDATA[ {% include downloads/board_image.html board_image=board.board_image %}< p > By {{ board.manufacturer }}</ p > {{ board.content }} ]]> </ description >
31
- < category > Blinka</ category >
32
- < pubDate > {{ board.date_added | date: '%s' | plus: twelve_hours | date_to_rfc822 }}</ pubDate >
33
- < guid > {{ board.url | absolute_url }}</ guid >
34
- </ item >
35
- {% endfor %}
You can’t perform that action at this time.
0 commit comments