Skip to content

Commit f952abf

Browse files
dmalanjekyllbot
authored andcommitted
Simplifies YAML for redirect_to (#185)
Merge pull request 185
1 parent 17534dd commit f952abf

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,9 @@ Sometimes, you may want to redirect a site page to a totally different website.
113113

114114
```yaml
115115
title: My amazing post
116-
redirect_to:
117-
- http://www.github.com
116+
redirect_to: http://www.github.com
118117
```
119118

120-
If you have multiple `redirect_to`s set, only the first one will be respected.
121-
122-
123119
**Note**: Using `redirect_to` or `redirect_from` with collections will only work with files which are output to HTML, such as `.md`, `.textile`, `.html` etc.
124120

125121
## Customizing the redirect template

0 commit comments

Comments
 (0)