Replace all occurrences of data.page with current_page.data

see https://github.com/middleman/middleman/issues/912
This commit is contained in:
Manuel Meurer 2013-05-29 11:25:57 +02:00
parent 994bd651f8
commit ed59260367
25 changed files with 35 additions and 35 deletions

View file

@ -1,3 +1,3 @@
Master
<h1><%= data.page.title %></h1>
<%= yield %>
<h1><%= current_page.data.title %></h1>
<%= yield %>

View file

@ -1,3 +1,3 @@
Master
%h1= data.page.title
= yield
%h1= current_page.data.title
= yield

View file

@ -1,3 +1,3 @@
h1 Master
p== data.page.title
div== yield
p== current_page.data.title
div== yield