README.md in toto-0.3.3 vs README.md in toto-0.4.0
- old
+ new
@@ -140,9 +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
+ ERB.new(File.read("#{path}/#{page}.rhtml")).result(ctx)
+ }
thanks
------
To heroku for making this easy as pie.