Skip to content

Commit 0f91397

Browse files
bitschmidtyjnewbery
authored andcommitted
Add url redirect plugin: jekyll-redirect-from
1 parent 3d5a4ac commit 0f91397

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ ruby '2.6.4'
99
group :development do
1010
gem 'jekyll'
1111
gem "minima", "~> 2.0" ## Default Jekyll theme
12+
gem 'jekyll-redirect-from'
1213
end
1314

1415
group :testing do

Gemfile.lock

+4-1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ GEM
3939
safe_yaml (~> 1.0)
4040
jekyll-feed (0.10.0)
4141
jekyll (~> 3.3)
42+
jekyll-redirect-from (0.16.0)
43+
jekyll (>= 3.3, < 5.0)
4244
jekyll-sass-converter (1.5.2)
4345
sass (~> 3.4)
4446
jekyll-seo-tag (2.4.0)
@@ -98,10 +100,11 @@ PLATFORMS
98100
DEPENDENCIES
99101
html-proofer
100102
jekyll
103+
jekyll-redirect-from
101104
json-schema
102105
mdl
103106
minima (~> 2.0)
104107
toml
105108

106109
RUBY VERSION
107-
ruby 2.6.4p104
110+
ruby 2.6.4p104

_config.yml

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ markdown: kramdown
3232
theme: minima
3333
plugins:
3434
- jekyll-feed
35+
- jekyll-redirect-from
3536

3637
# Exclude from processing.
3738
exclude:

_data/schemas/topics.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -100,5 +100,9 @@ properties:
100100

101101
see_also: *sources
102102

103+
redirect_from:
104+
description: Redirect urls per https://github.com/jekyll/jekyll-redirect-from
105+
type: array
106+
103107
extra:
104108
description: Extra fields (not validated)

0 commit comments

Comments
 (0)