Sha256: 7f34ae58fa33d2c5720ebf35c18695532fd3805d1e56ac22461471342787cfae

Contents?: true

Size: 251 Bytes

Versions: 10

Compression:

Stored size: 251 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"

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
middleman-2.0.7 lib/middleman/vendor/padrino-helpers-0.10.0/test/fixtures/markup_app/views/content_for.slim
middleman-2.0.6 lib/middleman/vendor/padrino-helpers-0.10.0/test/fixtures/markup_app/views/content_for.slim
middleman-2.0.5 lib/middleman/vendor/padrino-helpers-0.10.0/test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.1 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.10.0 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.9.29 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.9.28 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.9.27 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.9.26 test/fixtures/markup_app/views/content_for.slim
padrino-helpers-0.9.25 test/fixtures/markup_app/views/content_for.slim