middleman-inline
This gem adds helpers for middleman that inline your stylesheets and JavaScript. To use, add activate :inline
to your config.rb
, and, helpers will be available in any template. Here shown in an example ERB layout:
<html>
<head>
<%= inline_js 'jquery' %>
<%= inline_css 'style', 'normalize.css' %>
...