Sha256: abae803ca8b0c4a8dde97658573dc714b016ea1bc7b0b410a96ed1672acb13e7
Contents?: true
Size: 567 Bytes
Versions: 51
Compression:
Stored size: 567 Bytes
Contents
# Require gem require "haml" module Middleman module Renderers # Haml Renderer module Haml # Setup extension class << self # Once registered def registered(app) app.before_configuration do template_extensions :haml => :html end # Add haml helpers to context app.send :include, ::Haml::Helpers # Setup haml helper paths app.ready do init_haml_helpers end end alias :included :registered end end end end
Version data entries
51 entries across 51 versions & 2 rubygems