!!! %html{:lang=>"fr"} %head %meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" } %meta{ :charset => "utf-8" } %title= "Script Art - "+ @title.to_s+" - Danielle Riche" -if @description %meta{:name => "description", :content => @description} -else %meta{:name => "description", :content => "Oeuvres et actualité de Danielle Riche. Découvrez sur script 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" = csrf_meta_tag = stylesheet_link_tag 'public' = stylesheet_link_tag '/fonts/gondolasd/stylesheet.css' =#render :partial => "public/shared/ga" =javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR" %body #background1=image_tag "/diapo/dia1.jpg", :id => "", :alt => "Danielle Riche - Script art - Calligraphie et icones coptes" =#background =#midground =#foreground #color_background{:style => ("display:none" if @menu_item and @menu_item.slug == "accueil")} %a{:id => "top_anchor"} .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, :title => "Accueil de Script-Art, site de Danielle Riche" #menu_top=render(:partial => "public/shared/first_menu") =yield :sidebar #bandeau{:style => ("display:none" if !content_for?(:bandeau))} =yield :bandeau #main{:style => ("display:none" if @menu_item and @menu_item.slug == "accueil"), :class => ("with_banner" if content_for?(:bandeau))} #main_content =yield #bottom %a#go_top{:href => "#top_anchor"} %p{:style => "clear:both;"}   #accueil{:style => ("display:none;" if !@menu_item or @menu_item.slug != "accueil")} %h3 Danielle Riche #large_place :coffeescript $(document).on "click", '#large_place .close_large', -> $('#large_place').fadeOut()