From c8db38dc91aa550dcaee7b4a56740cc90c923991 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Fri, 14 Oct 2011 10:53:02 +0200 Subject: [PATCH] seo description --- app/views/layouts/public.html.haml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index bd3425f..4f66f63 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -3,7 +3,14 @@ %head %meta{:"http-equiv" => "content-type" ,:content =>"text/html;charset=UTF-8" } %title="Pharmacie Boissier - Rives sur Fures (38140) - "@title.to_s - + -if @description + %meta{:name => "description", :content => @description} + -else + %meta{:name => "description", :content => "La pharmacie Boissier située à Rives sur Fures (38140) vous accueil et vous conseil."} + -if @keywords + %meta{:name => "keywords", :content => @keywords} + -else + %meta{:name => "keywords", :content => "pharmacie, Boissier, Rives, Renage, Réaumont, Saint Blaise, Charnècles, homéopathie, aromathérapie"}