Skip to content

Redirect offline versions to the archives page

Jacques Erasmus requested to merge 223-redirect-offline-versions into master

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

Screenshot_2020-01-28_at_13.48.37

Closes #223 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports