~adnano/kiln

ec0209f928227f65493c4488af36e204f0fbf44b — Adnan Maolood a month ago 9ffb7c0
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
		}