To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorYAML Front Matter
In order to specific options and data inline
- Scenarios
-
- Rendering html
-
- Given
- the Server is running at "frontmatter-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 "---"
- A template changes frontmatter during preview
-
- Given
- the Server is running at "frontmatter-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"
Last published over 7 years ago by middleman.