No commit activity in last 3 years
No release in over 3 years
Automatize email inlining css with roadie
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 3.3.0
 Project Readme

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

TODO

  • Add layout setting for override default email layout
  • Add possibility to pass options to roadie

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request