Commit d7401e2
committed
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.1 parent 45c3c37 commit d7401e2
2 files changed
Lines changed: 8 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | | - | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
0 commit comments