Sha256: f159a3c7aa7eb307b51e80ddecb8bdd51ac5c661d31e09029c7d2e09c3fc64f2

Contents?: true

Size: 1005 Bytes

Versions: 10

Compression:

Stored size: 1005 Bytes

Contents

# Homura

Homura is a simple layout generator and helpers for rails.

## Installation

Add this line to your application's Gemfile:

    gem 'homura'

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install homura

## Usage

### Base Layout

Run this to generate a base layout:

    $ rails generate homura:install

### Layout Helpers

Providing these helpers:

    page_title
    page_description
    canonical_link
    og_properties

### Locale Detection

In application controller:

    include Homura::SetLocale

Your app will set locale via params/cookies/http-accept-language before any
requests.

### Mobile Detection

In application controller:

    include Homura::MobileDetection

Then put your mobile views in `app/mobile_views`.

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
homura-0.2.4 README.md
homura-0.2.3 README.md
homura-0.2.2 README.md
homura-0.2.1 README.md
homura-0.2.0 README.md
homura-0.1.4 README.md
homura-0.1.3 README.md
homura-0.1.2 README.md
homura-0.1.1 README.md
homura-0.1.0 README.md