Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
to your account
Create the following files:
content/org1.erb with content
<% children_of(@item).each do |c| %>
<li><%= c[:title] %></li>
<% end %>
content/org1/oink.md with content
here is oink content
Compile with this:
compile '/**/*' do
write ext: 'html'
Include Nanoc::Helpers::ChildParent helper
Delete content/org1/oink.md and recompile
Recreate content/org1/oink.md and recompile
output/org1/index.html contains a list with an item for output/oink.html
output/org1/index.html contains an empty list
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.