diff --git a/docs/Gemfile b/docs/Gemfile index 33d2cfc..4a9a2b2 100644 --- a/docs/Gemfile +++ b/docs/Gemfile @@ -18,6 +18,7 @@ group :jekyll_plugins do gem 'jekyll-content-security-policy-generator' gem "jekyll-feed", "~> 0.12" gem "jekyll-drawio" + gem "jekyll-redirect-from" end # Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem diff --git a/docs/Gemfile.lock b/docs/Gemfile.lock index 03f888d..ca80349 100644 --- a/docs/Gemfile.lock +++ b/docs/Gemfile.lock @@ -48,6 +48,8 @@ GEM jekyll (>= 3.7, < 5.0) jekyll-include-cache (0.2.1) jekyll (>= 3.7, < 5.0) + jekyll-redirect-from (0.16.0) + jekyll (>= 3.3, < 5.0) jekyll-sass-converter (3.0.0) sass-embedded (~> 1.54) jekyll-seo-tag (2.8.0) @@ -121,6 +123,7 @@ DEPENDENCIES jekyll-content-security-policy-generator jekyll-drawio jekyll-feed (~> 0.12) + jekyll-redirect-from jekyll-sitemap (~> 1.4) just-the-docs minima (~> 2.5) diff --git a/docs/_config.yml b/docs/_config.yml index c523482..21dc697 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -37,6 +37,7 @@ plugins: - jekyll-content-security-policy-generator - jekyll-feed - jekyll-sitemap + - jekyll-redirect-from color_scheme: nhs mermaid: diff --git a/docs/pages/features/campaigns.md b/docs/pages/features/campaigns.md index cbb0532..894f739 100644 --- a/docs/pages/features/campaigns.md +++ b/docs/pages/features/campaigns.md @@ -8,6 +8,7 @@ parent: Features nav_order: 1 permalink: /features/campaigns section: Features by messaging needs +redirect_from: /using-nhs-notify/campaigns --- Use NHS Notify to set up national or targeted campaigns to send messages in bulk to patients and the public. diff --git a/docs/pages/features/direct-messaging.md b/docs/pages/features/direct-messaging.md index 820141b..1afe490 100644 --- a/docs/pages/features/direct-messaging.md +++ b/docs/pages/features/direct-messaging.md @@ -8,6 +8,7 @@ parent: Features nav_order: 3 permalink: /features/direct-messaging section: Features by messaging needs +redirect_from: /using-nhs-notify/direct-messaging --- Use NHS Notify to support your organisation or service to send individual messages directly to each of your patients. diff --git a/docs/pages/features/event-based-messaging.md b/docs/pages/features/event-based-messaging.md index 4994c6a..9d6aed1 100644 --- a/docs/pages/features/event-based-messaging.md +++ b/docs/pages/features/event-based-messaging.md @@ -8,6 +8,7 @@ parent: Features nav_order: 2 permalink: /features/event-based-messaging section: Features by messaging needs +redirect_from: /using-nhs-notify/event-based-messaging --- Use NHS Notify to send messages to patients and the public when a specific event is triggered in your organisation or service.