Sha256: 909bd5d70577a0815df7f6a54e7cbbe0ffa5f9d3c70f7e0c7647771c5609e9ba
Contents?: true
Size: 1.03 KB
Versions: 3
Compression:
Stored size: 1.03 KB
Contents
Feature: YAML Front Matter In order to specific options and data inline Scenario: Rendering html Given the Server is running at "test-app" When I go to "/front-matter.html" Then I should see "<h1>This is the title</h1>" Then I should not see "---" When I go to "/front-matter-2.php" Then I should see "<h1>This is the title</h1>" Then I should see "<?php" Then I should not see "---" Scenario: A template changes frontmatter during preview Given the Server is running at "test-app" And the file "source/front-matter-change.html.erb" has the contents """ --- title: Hello World layout: false --- <%= data.page.title %> """ When I go to "/front-matter-change.html" Then I should see "Hello World" And the file "source/front-matter-change.html.erb" has the contents """ --- title: Hola Mundo layout: false --- <%= data.page.title %> """ When I go to "/front-matter-change.html" Then I should see "Hola Mundo"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
middleman-3.0.0.alpha.6 | features/front-matter.feature |
middleman-3.0.0.alpha.5 | features/front-matter.feature |
middleman-3.0.0.alpha.4 | features/front-matter.feature |