Sha256: a6d588e5d9c691a4f2215193f6499c59ae3deaf07561e234d6e939fc6907a0ce
Contents?: true
Size: 588 Bytes
Versions: 5
Compression:
Stored size: 588 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
5 entries across 5 versions & 1 rubygems