We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Given:
an item /cv/ with Haml contents
/cv/
- items.find_all('/talks/*/').each do |post| %li - p post = post.identifier = post[:status]
a few items:
/talks/aaa/
/talks/bbb/
a Rules file
#!/usr/bin/env ruby preprocess do items.each do |i| if i.identifier =~ /talks/ i[:status] = 'archive' else i[:status] = 'current' end end end compile '/**/*/' do case item[:extension] when 'md' filter :kramdown when 'haml' filter :haml end write item.identifier + 'index.html' end layout '/**/*', :haml
When:
if i.identifier =~ /aaa/
output/cv/index.html is updated (containing “archived” for /aaa/ but “current” for /bbb/)
output/cv/index.html
output/cv/index.html is not updated (containing “current” for /aaa/ and /bbb/)
When mutating attributes and/or content, checksum_data, attributes_checksum_data and content_checksum_data is not invalidated. It should be.
checksum_data
attributes_checksum_data
content_checksum_data
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
Given:
an item
/cv/
with Haml contentsa few items:
/talks/aaa/
/talks/bbb/
a Rules file
When:
if i.identifier =~ /aaa/
Expected behavior
output/cv/index.html
is updated (containing “archived” for /aaa/ but “current” for /bbb/)Actual behavior
output/cv/index.html
is not updated (containing “current” for /aaa/ and /bbb/)Details
When mutating attributes and/or content,
checksum_data
,attributes_checksum_data
andcontent_checksum_data
is not invalidated. It should be.The text was updated successfully, but these errors were encountered: