Sha256: bca8e525afaf6a2dc73367c762ec32a5480ffee2da168dbfe88582908d640f1d

Contents?: true

Size: 236 Bytes

Versions: 44

Compression:

Stored size: 236 Bytes

Contents

class LayoutDisabler < Middleman::Extension
  def initialize(app, options_hash = {}, &block)
    super

    app.set :layout, false
  end
end

::Middleman::Extensions.register(:layout_disabler, LayoutDisabler)

activate :layout_disabler

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
middleman-core-4.5.1 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.5.0 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.4.3 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.4.2 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.4.0 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.11 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.10 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.8 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.7 fixtures/extension-api-deprecations-app/config.rb
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/middleman-core-4.3.3/fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.6 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.5 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.4 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.3 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.2 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.1 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.0 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.0.rc.4 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.0.rc.3 fixtures/extension-api-deprecations-app/config.rb
middleman-core-4.3.0.rc.2 fixtures/extension-api-deprecations-app/config.rb