Skip to content

Commit b20fb27

Browse files
authored
Setup url redirects (#138)
* Upgrading nhsuk-frontend to latest version and moving SASS files to assets/css/ * Hiding the new 'account' link * Adding URL redirect Jekyll plugin and 3 page redirects
1 parent 3da23f6 commit b20fb27

File tree

6 files changed

+8
-0
lines changed

6 files changed

+8
-0
lines changed

docs/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ group :jekyll_plugins do
1818
gem 'jekyll-content-security-policy-generator'
1919
gem "jekyll-feed", "~> 0.12"
2020
gem "jekyll-drawio"
21+
gem "jekyll-redirect-from"
2122
end
2223

2324
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem

docs/Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ GEM
4848
jekyll (>= 3.7, < 5.0)
4949
jekyll-include-cache (0.2.1)
5050
jekyll (>= 3.7, < 5.0)
51+
jekyll-redirect-from (0.16.0)
52+
jekyll (>= 3.3, < 5.0)
5153
jekyll-sass-converter (3.0.0)
5254
sass-embedded (~> 1.54)
5355
jekyll-seo-tag (2.8.0)
@@ -121,6 +123,7 @@ DEPENDENCIES
121123
jekyll-content-security-policy-generator
122124
jekyll-drawio
123125
jekyll-feed (~> 0.12)
126+
jekyll-redirect-from
124127
jekyll-sitemap (~> 1.4)
125128
just-the-docs
126129
minima (~> 2.5)

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ plugins:
3737
- jekyll-content-security-policy-generator
3838
- jekyll-feed
3939
- jekyll-sitemap
40+
- jekyll-redirect-from
4041

4142
color_scheme: nhs
4243
mermaid:

docs/pages/features/campaigns.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parent: Features
88
nav_order: 1
99
permalink: /features/campaigns
1010
section: Features by messaging needs
11+
redirect_from: /using-nhs-notify/campaigns
1112
---
1213

1314
Use NHS Notify to set up national or targeted campaigns to send messages in bulk to patients and the public.

docs/pages/features/direct-messaging.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parent: Features
88
nav_order: 3
99
permalink: /features/direct-messaging
1010
section: Features by messaging needs
11+
redirect_from: /using-nhs-notify/direct-messaging
1112
---
1213

1314
Use NHS Notify to support your organisation or service to send individual messages directly to each of your patients.

docs/pages/features/event-based-messaging.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ parent: Features
88
nav_order: 2
99
permalink: /features/event-based-messaging
1010
section: Features by messaging needs
11+
redirect_from: /using-nhs-notify/event-based-messaging
1112
---
1213

1314
Use NHS Notify to send messages to patients and the public when a specific event is triggered in your organisation or service.

0 commit comments

Comments
 (0)