diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index cb5462d..9b21fd0 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -7,8 +7,17 @@ %title= "Script Art - "+ @title.to_s+" - Danielle Riche" - %meta{ :"name" => "Description", :content => @description } - %meta{ :"name" => "Keywords", :content => @keywords } + -if @description + %meta{:name => "description", :content => @description} + -else + %meta{:name => "description", :content => "Oeuvre et actualité de Danielle Riche. Découvrez sur sciprt art ses oeuvre de calligraphie, enluminure, icones coptes et photographie."} + + + + -if @keywords + %meta{:name => "keywords", :content => @keywords} + -else + %meta{:name => "keywords", :content => "Danielle Riche, Script Art, Calligraphie, Enluminure, Icônes coptes, Photographie, Perspective quantique"} = javascript_include_tag "public" @@ -29,7 +38,7 @@ %body - #background1=image_tag "/diapo/dia1.jpg", :id => "" + #background1=image_tag "/diapo/dia1.jpg", :id => "", :alt => "Danielle Riche - Script art - Calligraphie et icones coptes" =#background =#midground @@ -42,7 +51,7 @@ .large_content #top{:class => ("acceuil" if @menu_item and @menu_item.slug == "accueil"), :onclick => "$(this).toggleClass('active')"} .inner - %h2#logo= link_to "Script-Art", "/", :remote => true + %h2#logo= link_to "Script-Art", "/", :remote => true, :title => "Accueil de Script-Art, site de Danielle Riche" diff --git a/app/views/public/artworks/_artwork.html.haml b/app/views/public/artworks/_artwork.html.haml index fd49f83..40a43c3 100644 --- a/app/views/public/artworks/_artwork.html.haml +++ b/app/views/public/artworks/_artwork.html.haml @@ -11,7 +11,7 @@ .img.close_large - =image_tag(artwork_image.image.large.medium.url) + =image_tag(artwork_image.image.large.medium.url, :alt => "Script Art - Danielle riche : #{@portfolio.title} - #{artwork.title}") %p{:style => "clear:both;"} %h3=artwork.title diff --git a/app/views/public/shared/_first_menu.html.haml b/app/views/public/shared/_first_menu.html.haml index 97428cd..7bb5d24 100644 --- a/app/views/public/shared/_first_menu.html.haml +++ b/app/views/public/shared/_first_menu.html.haml @@ -6,13 +6,13 @@ %hr -=link_to "Nouvelles pélerines", public_articles_path(), :remote => true +=link_to "Nouvelles pélerines", public_articles_path(), :remote => true,:title => "Actualité et oeuvres de Danielle Riche, Script Art" %br %hr -Portfolio.order(:title).all.each do |portfolio| - =link_to portfolio.title, public_portfolio_path(:id => portfolio.slug), :remote => true, :class => ("active" if @portfolio and @portfolio == portfolio) + =link_to portfolio.title, public_portfolio_path(:id => portfolio.slug), :remote => true, :class => ("active" if @portfolio and @portfolio == portfolio), :title => "Oeuvre de Danielle Riche sur Script Art : "+portfolio.title.to_s %br %hr -=link_to "Reposoir", public_photos_path, :remote => true +=link_to "Reposoir", public_photos_path, :remote => true, :title => "Photographies de Danielle Riche" %hr -=link_to "Contact", new_public_contact_path +=link_to "Contact", new_public_contact_path, :title => "Contacter Danielle Riche via Script Art"