Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions _includes/downloads/board_image.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{% assign small_image = "/assets/images/boards/small/" | append: include.board_image %}
{% assign large_image = "/assets/images/boards/large/" | append: include.board_image %}
<!-- (uses an absolute URL for better compatibility with RSS readers -->
<img srcset="{{ small_image | absolute_url }} 300w,
{{ large_image | absolute_url }} 700w"
sizes="(max-width: 1024px) 700px,
300px"
src="{{ large_image | absolute_url }}" alt="Image of Board" loading="lazy">
{% assign small_image = "/assets/images/boards/small/" | append: include.board_image | absolute_url %}
{% assign large_image = "/assets/images/boards/large/" | append: include.board_image | absolute_url %}
<img srcset="{{ small_image }} 300w,
{{ large_image }} 700w"
sizes="(max-width: 1024px) 700px,
300px"
src="{{ large_image }}" alt="Image of Board" loading="lazy">
7 changes: 0 additions & 7 deletions _includes/downloads/feed_board_image.html

This file was deleted.

2 changes: 1 addition & 1 deletion feed.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<item>
<title>{{ board.name }}</title>
<link>{{ board.url | absolute_url }}</link>
<description><![CDATA[ {% include downloads/feed_board_image.html board_image=board.board_image %}<p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description>
<description><![CDATA[ {% include downloads/board_image.html board_image=board.board_image %}<p>By {{ board.manufacturer }}</p> {{ board.content }} ]]></description>
{% if board.blinka %}
<category>Blinka</category>
{% else %}
Expand Down