I think I have this question as I am a ruby newbie.
I would like to know how to write Rules like
compile "*" where item.kind='article'
which will apply to all items with their kind set to 'article' in the metadata.
Thanks
Pradeep
Hi,
This is the recommended approach, with one small change: it's not
"@item" but "item", so:
compile '*' do
if item[:kind] == 'article'
...
else
...
end
end
Regards,
Denis
--
Denis Defreyne
denis.d...@stoneship.org