mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
always rely on frontmatter
This commit is contained in:
parent
a4a9075e54
commit
f7a567d2d3
2 changed files with 3 additions and 4 deletions
|
@ -4,10 +4,7 @@ module Middleman
|
||||||
module Features
|
module Features
|
||||||
module Blog
|
module Blog
|
||||||
class << self
|
class << self
|
||||||
def registered(app)
|
def registered(app)
|
||||||
# Depend on FrontMatter
|
|
||||||
app.activate Middleman::Features::FrontMatter
|
|
||||||
|
|
||||||
# Include helpers
|
# Include helpers
|
||||||
app.helpers Middleman::Features::Blog::Helpers
|
app.helpers Middleman::Features::Blog::Helpers
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,8 @@ module Middleman
|
||||||
# Activate Webservices Proxy package
|
# Activate Webservices Proxy package
|
||||||
# register Middleman::Features::Proxy
|
# register Middleman::Features::Proxy
|
||||||
|
|
||||||
|
register Middleman::Features::FrontMatter
|
||||||
|
|
||||||
# Activate Lorem helpers
|
# Activate Lorem helpers
|
||||||
register Middleman::Features::Lorem
|
register Middleman::Features::Lorem
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue