page: Fix output path for index pages
1 files changed, 1 insertions(+), 1 deletions(-) M page.go
M page.go => page.go +1 -1
@@ 242,7 242,7 @@ func (p *Page) write(dstDir string, task *Task) error { } // Write index page if p.index { dstPath := pathpkg.Join(dirPath, p.Permalink, "index"+task.OutputExt) dstPath := pathpkg.Join(dstDir, p.Permalink, "index"+task.OutputExt) if err := p.writeTo(dstPath, task); err != nil { return err }