Created
March 27, 2011 16:22
-
-
Save owengriffin/889341 to your computer and use it in GitHub Desktop.
Nanoc helper to list articles related to the current item
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you for this. Really useful. As a side note, if one is only interested in the articles that are different from the current one, instead of iterating on all items (
@items.each do |item|
) it is enough to iterate on(@items - [item]).each do |item|
.