lib/nanoc/helpers/capturing.rb in nanoc-2.1.4 vs lib/nanoc/helpers/capturing.rb in nanoc-2.1.5

- old
+ new

@@ -28,9 +28,13 @@ # <% end %> # # When the site is compiled, the sidebar of the about page will say “On # this page, the purpose of nanoc is described, blah blah blah,” as # expected. + # + # To activate this helper, +include+ it, like this: + # + # include Nanoc::Helpers::Capturing module Capturing # Captures the content inside the block into a page attribute named # "content_for_" followed by the given name. The content of the block # itself will not be outputted.