diff options
-rw-r--r-- | lib/blog.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/blog.rb b/lib/blog.rb index 7500aa8..d55c0c1 100644 --- a/lib/blog.rb +++ b/lib/blog.rb @@ -51,6 +51,5 @@ def write_blog_files end def write_blog_archive - content = ERB.new(File.read(src 'blog.html.erb')).result - write_templated content, 'blog.html', title: 'Blog.' + write_templated_erb 'blog.html.erb', title: 'Blog.' end |