A rails generator that makes the application layout use [Skeleton](http://getskeleton.com)
== Skeleton Rails
skeleton_rails is a simple gem that allows you to generate a layout file based on the awesome Skeleton in your rails application. It currently works with Rails 3.0.0 and later.
== Installation
gem install skeleton_rails
or in your Gemfile
gem 'skeleton_rails'
Then, to create the layout:
rails g skeleton_layout [NAME] [--haml]
NAME
is optional and defaults to application
. The generator will copy a layout file to the app/views/layouts directory, as well as copying the stylesheets, javascript, and image files to their respective locations. Skeleton also includes a 404.html and a robots.txt file.
If the --haml
option is specified, a haml template will be created instead of ERB.
== Notes/Gotchas
== Future
= Issues/Suggestions
If you find anything amiss with this gem, please feel free to add a { github issue }[https://github.com/ruprict/skeleton_rails/issues].
If you have a suggestion, please feel free to fork, make the change, and submit a pull request.
== Credit
Thanks to Dave Gamache for making Skeleton, and thanks to Ryan Bates for making Nifty Generators, which I basically just copied to make the structure for this gem.