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? Sign in to your account
Create the following files:
content/org1.erb with content
content/org1.erb
<ul> <% children_of(@item).each do |c| %> <li><%= c[:title] %></li> <% end %> </ul>
content/org1/oink.md with content
content/org1/oink.md
--- title: Oink --- here is oink content
Compile with this:
compile '/**/*' do filter :erb write ext: 'html' end
Include Nanoc::Helpers::ChildParent helper
Nanoc::Helpers::ChildParent
Compile
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
output/oink.html
output/org1/index.html contains an empty list
n/a
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Steps to reproduce
Create the following files:
content/org1.erb
with contentcontent/org1/oink.md
with contentCompile with this:
Include
Nanoc::Helpers::ChildParent
helperCompile
Delete
content/org1/oink.md
and recompileRecreate
content/org1/oink.md
and recompileExpected behavior
output/org1/index.html
contains a list with an item foroutput/oink.html
Actual behavior
output/org1/index.html
contains an empty listDetails
n/a
Crash log
n/a
The text was updated successfully, but these errors were encountered: