Skip to content

Commit

Permalink
Merge pull request #848 from cdrage/update-site-gen
Browse files Browse the repository at this point in the history
Redirects not working
  • Loading branch information
cdrage authored Oct 11, 2017
2 parents cfbc83a + 24a8568 commit 2fb357b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion script/sync-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ for filename in *.md; do
jekyll="---
layout: default
permalink: /$name/
redirect_from: \"/docs/$name.md\"
redirect_from:
- /docs/$name.md/
---
"
echo -e "$jekyll\n$(cat $filename)" > $filename
Expand Down

0 comments on commit 2fb357b

Please sign in to comment.