2011-12-23 21:04:38 +01:00
|
|
|
Source: <%= current_page.source_file.sub(root + "/", "") %>
|
|
|
|
|
|
|
|
<% 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 08:02:50 +01:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% current_page.children.each do |p| %>
|
|
|
|
<% if p.data %>
|
|
|
|
Data: <%= p.data %>
|
|
|
|
<% end %>
|
2011-12-23 21:04:38 +01:00
|
|
|
<% end %>
|