Closed nottrobin closed 5 years ago
Here I'm doing quite a few things:
title: {title}
index.md
description: {description}
title
description
jekyll-redirect-from
/coding/react
/coding/code-formatting
/coding/javascript
sudo gem install jekyll-redirect-from jekyll serve
Go to http://localhost:4000/practices/ and check the site.
Go to http://localhost:4000/practices/coding/react and http://localhost:4000/practices/coding/code-formatting and check you are redirected to http://localhost:4000/practices/coding/javascript.html.
Here I'm doing quite a few things:
title: {title}
)index.md
that was) into metadata (description: {description}
)title
anddescription
jekyll-redirect-from
(the only plugin supported by GitHub pages), and redirect/coding/react
and/coding/code-formatting
to/coding/javascript
QA
Go to http://localhost:4000/practices/ and check the site.
Go to http://localhost:4000/practices/coding/react and http://localhost:4000/practices/coding/code-formatting and check you are redirected to http://localhost:4000/practices/coding/javascript.html.