README.md in ruby-slippers-0.1.2 vs README.md in ruby-slippers-0.1.7
- old
+ new
@@ -92,10 +92,10 @@
set :summary, :max => 150, :delim => /~\n/ # length of article summary and delimiter
set :ext, 'txt' # file extension for articles
set :cache, 28800 # cache site for 8 hours
set :to_html do |path, page, ctx| # returns an html, from a path & context
- ERB.new(File.read("#{path}/#{page}.rhtml")).result(ctx)
+ ERB.new(File.read("#{path}/#{page}.html.erb")).result(ctx)
end
set :error do |code| # The HTML for your error page
"<font style='font-size:300%'>A large house has landed on you. You cannot continue because you are dead. <a href='/'>try again</a> (#{code})</font>"
end