lib/post.rb in runeblog-0.1.48 vs lib/post.rb in runeblog-0.1.49

- old
+ new

@@ -96,10 +96,10 @@ end def create_draft html = RuneBlog.post_template(title: @meta.title, date: @meta.pubdate, view: @meta.view, teaser: @meta.teaser, body: @meta.body, - views: @blog.post_views, tags: @blog.post_tags) + views: @meta.views, tags: @meta.tags) srcdir = "#{@blog.root}/src/" verify(Dir.exist?(srcdir) => "#{srcdir} not found", @meta.slug.is_a?(String) => "slug #{@meta.slug.inspect} is invalid") fname = @meta.slug + ".lt3" @draft = srcdir + fname