mirror of
https://github.com/danog/gojekyll.git
synced 2024-11-27 01:34:41 +01:00
lint
This commit is contained in:
parent
57d2cc11d2
commit
4f94426362
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user