Tagging extra helper - aadlani/nanoc-toolbox GitHub Wiki
http://rubydoc.info/github/aadlani/nanoc-toolbox/Nanoc/Toolbox/Helpers/TaggingExtra
In the folder lib/helpers_.rb
add the Helper inclusion as following:
# Helpers of the nanoc-toolbox
include Nanoc::Toolbox::Helpers::TaggingExtra
In your Rules you could use the create_tag_pages in the preprocessor like this.
preprocess do
create_tag_pages
end
compile '/tags/*/' do
filter :erb
layout 'default'
end
<% items_with_tag(tag).each do |article| %>
<%= link_to article[:title], article %>
<% end %>