= ComfortableMexicanLoveseat The Comfortable Mexican Loveseat is an expansion pack to the Comfortable Mexican Sofa. It currently contains minor modifications to the snippet.rb and base_controller.rb files, improved sitemap functionality, and SEO-enhancing modifications. The Loveseat references a fixed version of the CMS (currently 1.12.8) and latest releases are pulled in occasionally. == SEO Features === Simplified Fixture Import/Export When you want to import fixtures you can now use the following commands: rake cms:import # imports from all folders and automatically creates matching sites if they don't exist rake cms:import FROM=somewhere # automatically imports to somewhere rake cms:import FROM=somewhere TO=something LOCALE=de #lets you set the locale for the site rake cms:export rake cms:export FROM=somewhere rake cms:export FROM=somewhere TO=something LOCALE=de === Custom Sitemaps Building on the Sofa's sitemap functionality, the Loveseat lets you add Rails model show pages and custom routes to the sitemap. To use it, please copy and customize the demo initializer located in templates/comfortable_mexican_loveseat.rb and in your routes.rb file make sure you have this line: comfy_route :cms, :path => '/', :sitemap => true Then replace your robots.txt file with the one in the templates folder. === URL Redirection By default when using the Loveseat, all trailing slash URLs ('myapp.com/example/') are redirected to a non-trailing slash URL. === Page Meta Tags By default when you create an application, it comes with meta description; page title; index; canonical link; and Social Media (Google+, Facebook, and Twitter) fields that can be filled in on a per-page basis. To display these tags, add this to your application.html.erb: <%= comfy_page_title %> <%= comfy_seo_tags %> === File Upload helper text The Loveseat provides some helpful hints to admins when they're uploading images (choose an SEO-friendly name, add an alt-tag), which you can add to your locale files. images_need_seo_friendly_names files_alt_tag