Skip to content

vortizhe/middleman-roadie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages