1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-27 01:34:41 +01:00
This commit is contained in:
Oliver Steele 2017-07-10 15:39:17 -04:00
parent 57d2cc11d2
commit 4f94426362

View File

@ -28,7 +28,9 @@ func (p jekyllRedirectFromPlugin) PostRead(site Site) error {
if err != nil {
return err
}
p.processRedirectTo(site, ps)
if err := p.processRedirectTo(site, ps); err != nil {
return err
}
for _, r := range newPages {
site.AddDocument(r, true)
}