Fix redirection site issues

Fixes the issues in regards to rediction.

For example, supplying `/docs/conversion` within the user guide the link
will appear as a 404.

Adding this allows redirection from `/docs/conversion` to `/conversion`.
This commit is contained in:
Charlie Drage 2017-07-10 15:13:53 -04:00
parent 51a488c3bc
commit f33745701e

View File

@ -65,6 +65,7 @@ for filename in *.md; do
jekyll="---
layout: default
permalink: /$name/
redirect_from: \"/docs/$name/\"
---
"
echo -e "$jekyll\n$(cat $filename)" > $filename