Sha256: 6ca8bc60d512c9283793668a68c118aa0c5fbaa700956eea60eb5dd6dc6d2f03

Contents?: true

Size: 332 Bytes

Versions: 21

Compression:

Stored size: 332 Bytes

Contents

- content_for :demo do
  h1 This is content yielded from a content_for

.demo== yield_content :demo

- content_for :demo2 do |fname, lname|
  h1 This is content yielded with name #{fname + " " + lname}

.demo2== yield_content :demo2, "Johnny", "Smith"

.demo_has_content== content_for?(:demo)
.fake_has_content== content_for?(:fake)

Version data entries

21 entries across 21 versions & 3 rubygems

Version Path
middleman-core-3.1.0.rc.2 lib/vendored-middleman-deps/padrino-helpers-0.10.7/test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.7 test/fixtures/markup_app/views/content_for.slim
middleman-core-3.0.0.beta.2 lib/middleman-core/vendor/padrino-helpers-0.10.6/test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.6 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.6.e test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.6.d test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.6.c test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.6.b test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.6.a test/fixtures/markup_app/views/content_for.slim
middleman-core-3.0.0.beta.1 lib/middleman-core/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-core-3.0.0.alpha.9 lib/middleman-core/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-core-3.0.0.alpha.8 lib/middleman-core/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-core-3.0.0.alpha.7 lib/middleman-core/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-3.0.0.alpha.6 lib/middleman/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-3.0.0.alpha.5 lib/middleman/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-3.0.0.alpha.4 lib/middleman/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-3.0.0.alpha.3 lib/middleman/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
middleman-3.0.0.alpha.2 lib/middleman/vendor/padrino-helpers-0.10.5/test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.5 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.4 test/fixtures/markup_app/views/content_for.slim