Finish removing extra libs from front matter

This commit is contained in:
Thomas Reynolds 2011-06-28 15:51:25 -07:00
parent 78e31382e9
commit 77353b5adf

View file

@ -6,15 +6,10 @@ module Middleman::Features::FrontMatter
def registered(app) def registered(app)
app.extend ClassMethods app.extend ClassMethods
::Tilt::register MarukuTemplate, 'markdown', 'mkd', 'md'
::Tilt::register MarukuTemplate, 'markdown', 'mkd', 'md'
::Tilt::register KramdownTemplate, 'markdown', 'mkd', 'md'
::Tilt::register BlueClothTemplate, 'markdown', 'mkd', 'md'
::Tilt::register RedcarpetTemplate, 'markdown', 'mkd', 'md'
::Tilt::register RDiscountTemplate, 'markdown', 'mkd', 'md' ::Tilt::register RDiscountTemplate, 'markdown', 'mkd', 'md'
::Tilt::register RedClothTemplate, 'textile' ::Tilt::register RedClothTemplate, 'textile'
::Tilt::register ERBTemplate, 'erb', 'rhtml' ::Tilt::register ERBTemplate, 'erb', 'rhtml'
::Tilt::register ErubisTemplate, 'erb', 'rhtml', 'erubis' ::Tilt::register ErubisTemplate, 'erb', 'rhtml', 'erubis'
end end
alias :included :registered alias :included :registered
end end
@ -44,7 +39,7 @@ module Middleman::Features::FrontMatter
end end
end end
# MARKDOWN # MARKDOWN
class RDiscountTemplate < ::Tilt::RDiscountTemplate class RDiscountTemplate < ::Tilt::RDiscountTemplate
include Middleman::Features::FrontMatter::YamlAware include Middleman::Features::FrontMatter::YamlAware
end end