middleman/middleman-core/fixtures/feature-params-app/config.rb
2013-12-31 18:21:30 -08:00

17 lines
290 B
Ruby

set :layout, false
class ExtensionA < ::Middleman::Extension
helpers do
def get_option(key)
extensions[:extension_a].options[key]
end
end
option :hello, '', ''
option :hola, '', ''
end
ExtensionA.register
activate :extension_a, :hello => "world", :hola => "mundo"