You may want to share common code among a few Nanoc projects.
Here is an easy way I did it.
To share common ruby filters and helpers, put this in each project’s lib/default.rb
:
Dir["../../shared/lib/*"].each { |path| require path }
To share common layouts and content, add the following data source to your nanoc.yml
file:
- # data source for shared items layouts_dir: ../../shared/layouts content_dir: ../../shared/content