2012-03-08 00:21:49 -05:00
|
|
|
Path: <%= current_page.path %>
|
|
|
|
|
2014-07-15 21:01:45 -04:00
|
|
|
Source: <%= current_page.source_file[:full_path].sub(root + "/", "") %>
|
2011-12-23 15:04:38 -05:00
|
|
|
|
|
|
|
<% if current_page.parent %>
|
|
|
|
Parent: <%= current_page.parent.path %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% current_page.children.each do |p| %>
|
|
|
|
Child: <%= p.path %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% current_page.siblings.each do |p| %>
|
|
|
|
Sibling: <%= p.path %>
|
2011-12-25 02:02:50 -05:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% current_page.children.each do |p| %>
|
|
|
|
<% if p.data %>
|
2015-03-20 16:58:23 -04:00
|
|
|
Data: <%= p.data.inspect %>
|
2011-12-25 02:02:50 -05:00
|
|
|
<% end %>
|
2011-12-23 15:04:38 -05:00
|
|
|
<% end %>
|