Middleman Roadie
Roadie extension wrapper for Middleman.
Installation
Install the gem as usual: put gem 'middleman-roadie' in Gemfile, then run bundle install.
Put activate :roadie in config.rb (not in the configure :build block).
Usage
Use a custom layout for email rendering page '/email/*', layout: :email in config.rb.
Important: stylesheets must be linked using stylesheet_inline_tag helper.
If for some reason you need to include styles but don't want to be inlined on html, just include with stylesheet_inline_tag your_styles, false
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request