rename default exts
This commit is contained in:
parent
f99b9fb2ca
commit
7828b07dad
|
@ -33,7 +33,7 @@ module Middleman::CoreExtensions::Features
|
|||
# The Feature API is itself a Feature. Mind blowing!
|
||||
class << self
|
||||
def registered(app)
|
||||
app.set :default_extensions, []
|
||||
app.set :default_features, []
|
||||
app.extend ClassMethods
|
||||
end
|
||||
alias :included :registered
|
||||
|
|
|
@ -49,7 +49,7 @@ module Middleman
|
|||
# Parse YAML from templates
|
||||
register Middleman::CoreExtensions::FrontMatter
|
||||
|
||||
set :default_extensions, [
|
||||
set :default_features, [
|
||||
:lorem
|
||||
]
|
||||
|
||||
|
|
|
@ -25,11 +25,11 @@
|
|||
# page "/path/to/file.html", :layout => :otherlayout
|
||||
|
||||
# Helpers
|
||||
helpers do
|
||||
def some_helper(*args)
|
||||
"Helping"
|
||||
end
|
||||
end
|
||||
# helpers do
|
||||
# def some_helper(*args)
|
||||
# "Helping"
|
||||
# end
|
||||
# end
|
||||
|
||||
<% if options[:css_dir] != "stylesheets" -%>
|
||||
set :css_dir, "<%= options[:css_dir] -%>"
|
||||
|
@ -66,12 +66,10 @@ configure :build do
|
|||
# Use relative URLs
|
||||
# activate :relative_assets
|
||||
|
||||
# Compress PNGs after build (gem install middleman-smusher)
|
||||
# Compress PNGs after build
|
||||
# First: gem install middleman-smusher
|
||||
# require "middleman-smusher"
|
||||
# activate :smusher
|
||||
|
||||
# Generate ugly/obfuscated HTML from Haml
|
||||
# activate :ugly_haml
|
||||
|
||||
# Or use a different image path
|
||||
# set :http_path, "/Content/images/"
|
||||
|
|
Loading…
Reference in a new issue