diff --git a/blog/blog.go b/blog/blog.go index 4e53c16..e3f6721 100644 --- a/blog/blog.go +++ b/blog/blog.go @@ -67,6 +67,7 @@ func emitPostPage(post Post) string { os.MkdirAll(folders, 0755) page := Page{} page.Blogname = blogname + page.Blogdir = folder page.Title = post.Meta.Title page.Style = style page.Content = post.Content @@ -114,6 +115,7 @@ func emitIndexPage(i int, posts []Post, total int) { page.Title = blogname page.Style = style page.Blogdir = folder + page.Blogname = blogname page.Blogpost = false page.PostCollection = postCollection if indexPageExists(i-1, total) {