Sha256: b0a85e85b86510a39cb37ee11301aa2c63a435b248daf54611d68f67113b9f1c
Contents?: true
Size: 778 Bytes
Versions: 1
Compression:
Stored size: 778 Bytes
Contents
# Represent <q>DRY, SEO-friendly Rails Views</q> ## Usage ### Install sudo gem install represent ### Helpers #### Metadata Helpers Adding metadata to your views is easy (`app/views/pages/index.html.erb`): <% title @post.title %> <% description @post.description %> <% keywords @post.tag_list %> <% body_class "post post-template" %> <div id="content">...</div> Default metadata is just as easy (`app/views/layouts/application.html.erb`): <%= meta_tags "My Site", :keywords => "Rails 3, jQuery", :description => "This is what Facebook displays" %> #### System Helpers Need to check what browser it is? No problem. #### Layout Helpers Would you like to create a nested menu, or a grid? No problem.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
represent-0.0.1.5 | README.markdown |