Replace all occurrences of data.page with current_page.data
see https://github.com/middleman/middleman/issues/912
This commit is contained in:
parent
994bd651f8
commit
ed59260367
25 changed files with 35 additions and 35 deletions
|
@ -1,3 +1,3 @@
|
|||
Master
|
||||
<h1><%= data.page.title %></h1>
|
||||
<%= yield %>
|
||||
<h1><%= current_page.data.title %></h1>
|
||||
<%= yield %>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Master
|
||||
%h1= data.page.title
|
||||
= yield
|
||||
%h1= current_page.data.title
|
||||
= yield
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
h1 Master
|
||||
p== data.page.title
|
||||
div== yield
|
||||
p== current_page.data.title
|
||||
div== yield
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue