2012-05-24 16:14:17 -07:00
|
|
|
Path: <%= current_page.path %>
|
|
|
|
|
2015-09-09 11:55:56 -07:00
|
|
|
Source: <%= current_page.file_descriptor[:full_path].sub(root + "/", "") %>
|
2012-05-24 16:14:17 -07: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 %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% current_page.children.each do |p| %>
|
|
|
|
<% if p.data %>
|
2015-03-20 13:58:23 -07:00
|
|
|
Data: <%= p.data.inspect %>
|
2012-05-24 16:14:17 -07:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|