0.0
No commit activity in last 3 years
No release in over 3 years
Web app theme generator for Ruby On Rails projects
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.5
>= 0
>= 0
 Project Readme

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.

Gem Version Build Status Coverage Status Dependency Status

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

  1. Fork it ( http://github.com/jurrick/quick-templater/fork )
  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