fast and minimal static site generator
ssg

Try without subdir index

anirudh.fi 39b8d08c 96a6bc1b

verified
+1 -1
+1 -1
commands/build.go
··· 183 183 // ex: build/blog/foo-bar -> build/foo-bar 184 184 if post.Meta["atroot"] == "true" { 185 185 os.Mkdir(filepath.Join(types.BuildDir, slug), 0755) 186 - dstFile := filepath.Join(types.BuildDir, slug, "index.html") 186 + dstFile := filepath.Join(types.BuildDir, slug+".html") 187 187 util.CopyFile(filepath.Join(dstDir, slug, "index.html"), dstFile) 188 188 } 189 189 }