2012-05-25 01:14:17 +02:00
|
|
|
Path: <%= current_page.path %>
|
|
|
|
|
2014-07-16 03:01:45 +02:00
|
|
|
Source: <%= current_page.source_file[:full_path].sub(root + "/", "") %>
|
2012-05-25 01:14:17 +02: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 %>
|
|
|
|
Data: <%= p.data %>
|
|
|
|
<% end %>
|
|
|
|
<% end %>
|