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 collaboratorCustom layouts
In order easily switch between relative and absolute paths
- Scenarios
-
- Using custom :layout attribute
- Using with_layout block
- Using with_layout block with globs
- Using custom :layout attribute with folders
- Using custom :layout attribute with folders
- Using custom :layout attribute with folders
- Using custom :layout attribute
-
- Given
- page "/custom-layout.html" has layout "custom"
- And
- the Server is running at "custom-layout-app2"
- When
- I go to "/custom-layout.html"
- Then
- I should see "Custom Layout"
- Using with_layout block
-
- Given
- "/custom-layout.html" with_layout block has layout "custom"
- And
- the Server is running at "custom-layout-app2"
- When
- I go to "/custom-layout.html"
- Then
- I should see "Custom Layout"
- Using with_layout block with globs
-
- Given
- "/custom-*" with_layout block has layout "custom"
- And
- the Server is running at "custom-layout-app2"
- When
- I go to "/custom-layout.html"
- Then
- I should see "Custom Layout"
- Using custom :layout attribute with folders
-
- Given
- page "/custom-layout-dir/" has layout "custom"
- And
- the Server is running at "custom-layout-app2"
- When
- I go to "/custom-layout-dir"
- Then
- I should see "Custom Layout"
- When
- I go to "/custom-layout-dir/"
- Then
- I should see "Custom Layout"
- When
- I go to "/custom-layout-dir/index.html"
- Then
- I should see "Custom Layout"
- Using custom :layout attribute with folders
-
- Given
- page "/custom-layout-dir" has layout "custom"
- And
- the Server is running at "custom-layout-app2"
- When
- I go to "/custom-layout-dir"
- Then
- I should see "Custom Layout"
- When
- I go to "/custom-layout-dir/"
- Then
- I should see "Custom Layout"
- When
- I go to "/custom-layout-dir/index.html"
- Then
- I should see "Custom Layout"
- Using custom :layout attribute with folders
-
- Given
- page "/custom-layout-dir/index.html" has layout "custom"
- And
- the Server is running at "custom-layout-app2"
- When
- I go to "/custom-layout-dir"
- Then
- I should see "Custom Layout"
- When
- I go to "/custom-layout-dir/"
- Then
- I should see "Custom Layout"
- When
- I go to "/custom-layout-dir/index.html"
- Then
- I should see "Custom Layout"
Last published over 7 years ago by middleman.