Sha256: 3da4db474c3d20bb755f69d86bfe5cdf2cc7d0eff9f392996adc42f30a28170d
Contents?: true
Size: 382 Bytes
Versions: 12
Compression:
Stored size: 382 Bytes
Contents
module Awestruct module Textilable def render(context) rendered = '' begin rendered = RedCloth.new( context.interpolate_string( raw_page_content ) ).to_html rescue => e puts e puts e.backtrace end rendered end def content context = site.engine.create_context(self) render(context) end end end
Version data entries
12 entries across 12 versions & 1 rubygems