Redirect offline versions to the archives page
This redirects all offline versions of the docs to the archives page.
It also displays a dismissable banner on the archives page when the user is redirected from an offline version.
-
Add logic to redirect all versions listed in content/_data/versions.yaml
. -
Create a generic banner
component. -
Implement the banner component for outdated versions and offline versions. -
Show banner on archives page when redirected from an offline version. -
Add the ability to dismiss a banner. -
Cross-browser compatibility. -
Add the production conditional back (after testing). -
Add tests for the banner component.
Screenshot
Closes #223 (closed)
Edited by 🤖 GitLab Bot 🤖