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()
|
fn := file.Name()
|
||||||
srcFile := path.Join(src, fn)
|
srcFile := path.Join(src, fn)
|
||||||
dstFile := path.Join(dst, "/posts/", md2html(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("-----")
|
fmt.Println("-----")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
|
Loading…
Reference in New Issue
Block a user