diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 17:09:27 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2017-01-09 17:09:27 -0500 |
commit | a70b39250252962df17670cee743d01d1a6f7c16 (patch) | |
tree | 58c390dfd181953cb790d3edfc57e79a5406ff08 /lib/page_local.rb | |
parent | 5022d1a0df1534b1cbec1cbee23568f201ea1cc6 (diff) |
fix
Diffstat (limited to 'lib/page_local.rb')
-rw-r--r-- | lib/page_local.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/page_local.rb b/lib/page_local.rb index da8689d..7121c8e 100644 --- a/lib/page_local.rb +++ b/lib/page_local.rb @@ -1,6 +1,5 @@ # coding: utf-8 require 'date' -require 'erb' require 'set' require 'config' @@ -121,6 +120,3 @@ class LocalPage < Page @outurl ||= Config::get.url + local_outfile.sub(/^out/, '') end end - -ERB::new(File::read("tmpl/page.atom.erb")).def_method(LocalPage, 'atom()', "tmpl/page.atom.erb") -ERB::new(File::read("tmpl/page.html.erb")).def_method(LocalPage, 'html()', "tmpl/page.html.erb") |