lib/post.rb in runeblog-0.1.16 vs lib/post.rb in runeblog-0.1.17
- old
+ new
@@ -36,10 +36,10 @@
viewname ||= @blog.view.dir
post_dir = viewname + "/" + @meta.slug
create_dir(post_dir) rescue nil # FIXME?
Dir.chdir(post_dir) do
create_dir("assets") rescue nil
- system("cp body.txt index.html") # gahhh
+ system("cp body.txt index.html") # gahhh FIXME
end
end
def write_metadata(meta)
fname2 = "metadata.txt"