Quick Templater
Quick Templater is a rails generator that you can use to generate site templates quickly. Today some bootstrap v3 templates already available to generate layouts.
Installation
Add this line to your application's Gemfile:
gem 'quick-templater'
And then execute:
$ bundle
Or install it yourself as:
$ gem install quick-templater
Usage
Layout generator
Used without parameters, it generates the layout inside the application.html.erb file using the bootstrap template "Starter".
rails g quick_templater:layout
You can specify the layout file name in the first parameter:
rails g quick_templater:layout admin # it will generate a layout called `admin.html.erb`
If you want to use another bootstrap template layout (See a list of all templates), instead of the default, you can use the --template option:
rails g quick_templater:layout admin --template="jumbotron"
You can specify the template engine with --engine=name option, where name can be erb (default), haml or slim:
rails g quick_templater:layout --engine=slim # you must specify slim in your Gemfile
You can specify the text used in the header with the --app-name option:
rails g quick_templater:layout --app-name="My New Application"
Contributing
- Fork it ( http://github.com/jurrick/quick-templater/fork )
- 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

