no "/"
This commit is contained in:
parent
7cf885be4a
commit
2ecdca9149
2
main.go
2
main.go
@ -272,7 +272,7 @@ func main() {
|
||||
fn := file.Name()
|
||||
srcFile := path.Join(src, fn)
|
||||
dstFile := path.Join(dst, "/posts/", md2html(fn))
|
||||
post, err := renderPost(srcFile, path.Join("/posts/", fn))
|
||||
post, err := renderPost(srcFile, path.Join("posts/", fn))
|
||||
fmt.Println("-----")
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
|
Loading…
Reference in New Issue
Block a user