README.md in toto-0.4.1 vs README.md in toto-0.4.2
- old
+ new
@@ -140,12 +140,12 @@
set :markdown, :smart # use markdown + smart-mode
set :disqus, false # disqus id, or false
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, lambda {|path, page, ctx| # returns an html, from a path & context
+ set :to_html do |path, page, ctx| # returns an html, from a path & context
ERB.new(File.read("#{path}/#{page}.rhtml")).result(ctx)
- }
+ end
thanks
------
To heroku for making this easy as pie.