demonstrate bug with nested_layouts and YAML front matter
This commit is contained in:
parent
b9b2c2511c
commit
24664e4bba
4 changed files with 22 additions and 1 deletions
5
fixtures/nested-layout-app/source/data-one.html.erb
Normal file
5
fixtures/nested-layout-app/source/data-one.html.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Page Number One
|
||||
layout: outer
|
||||
---
|
||||
Page #1
|
5
fixtures/nested-layout-app/source/data-two.html.erb
Normal file
5
fixtures/nested-layout-app/source/data-two.html.erb
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Page Number Two
|
||||
layout: outer
|
||||
---
|
||||
Page #2
|
|
@ -1,2 +1,3 @@
|
|||
Master
|
||||
<%= data.page.title %>
|
||||
<%= yield %>
|
Loading…
Add table
Add a link
Reference in a new issue