Add interstitial redirects and old images. #600
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In the process of writing #599, I noticed that the image link on the top of the Briefcase release page on PyPI was broken.
This was caused by the recent website refactor, and was corrected in main as part of beeware/briefcase#2172, but I hadn't considered all the historical image links that would have been affected.
This PR restores the images for all "active" projects to their original locations, so that historical image links will continue to work. Unfortunately, it doesn't look like Lektor will let us to redirects for images.
However, it turns out the redirects for old URLs weren't working either - although the old Briefcase URL has a redirect defined, it's parent page doesn't have any content, and as a result, what should have been a redirect is currently returning a 404.
This PR adds content pages all the "interstitial" URLs in the project hierarchy - to specific new locations where possible; to
/projectwhere there isn't an obvious mapping.This then allows the images to be served at their original locations, and the old project URLs to be redirects.