Commit graph

11 commits

Author SHA1 Message Date
Justin Cooper
d4f11e6cc5 clean up usage of srcset 2025-03-31 11:17:51 -05:00
3d2491bb1a Go ahead and re-combine the two feed includes
After discussion, having an absolute URL in the generated HTML is just
fine.
2024-04-01 11:18:52 -05:00
d7401e28a5 Continue trying to fix RSS feed absolute URLs
Originally, both the RSS feed and the board list pages used the same
board_image.html include; I added `| absolute_url` to this file for
the RSS feed, which functions better when all links are absolute.

Using `| absolute_url` is preferable to just prepending
`https://circuitpython.org` because it can give a correct URL when
previewing locally with `bundle run jekyll serve`.

This crossed with a change by @makermelissa to switch the feeds
to use a separate include, presumably (though I didn't specifically ask
her about it) to avoid having the absoulute URLs where they were not
needed.

In this commit, I remove the use of `absolute_url` in the include that's
used to generate regular pages, while switching from prepending
`https://circuitpython.org` to using `| absolute_url` on the include
that is used just for the feed.
2024-04-01 10:53:40 -05:00
da410b5a53 One more absolute_url for rss feeds 2024-03-29 20:45:04 -05:00
6d39e2697b Generate absolute URLs automatically
This allows a `localhost:4000`-style URL to be generated for local
testing, but still gives an absolute URL, which enhances compatibility
with RSS readers. A comment is added explaining the reason for the
absolute URL.

Closes #1374
2024-03-29 20:33:37 -05:00
Melissa LeBlanc-Williams
b628f70683 Add missing boards from CircuitPython 9.1.0 2024-03-29 15:14:45 -07:00
foamyguy
b5b4fdfcae fix image URLs in the RSS feed. 2024-03-22 16:07:52 -05:00
d64de1582e
Restore images in downloads page, board page 2022-10-08 21:26:19 -05:00
Melissa LeBlanc-Williams
d02d59257d Original images are no longer deployed 2022-10-06 11:33:29 -07:00
Justin Cooper
d9f162a235 lazy load images if browsers support the loading attribute, speeds up downloads and blinka page loading times on slower connections 2021-04-16 14:02:50 -05:00
Justin Cooper
de28182fde fallback to original image if smaller images do not exist 2019-06-05 12:57:15 -05:00