!!!

%html{:xmlns=>"http://www.w3.org/1999/xhtml", :"xml:lang"=>"fr", :lang=>"fr"}
  %head
    %meta{:"http-equiv" => "content-type" ,:content =>"text/html;charset=UTF-8" }
    %title
      ="Ecologie Noblet - #{@title} - Jean-François Noblet"
    -if @description
      %meta{:name => "description", :content => @description}
    -else
      %meta{:name => "description", :content => "Site officiel de Jean-François Noblet, activités, actualité écologie..."}
    -if @keywords
      %meta{:name => "keywords", :content => @keywords}
    -else
      %meta{:name => "keywords", :content => "JFN, Jean François Noblet, Ecologie Noblet, Ecologie, Environnement, Nature, Ecrivain"}
  
    
    = csrf_meta_tag 

    = javascript_include_tag "public"
    
    = stylesheet_link_tag 'public' 
  

    =render :partial => "public/shared/ga"
    
    
  %body


    .top
      #menu_top
        =render(:partial => "public/shared/first_menu")
      
      =link_to image_tag('logo.png', :id => "logo", :alt => "Ecologie Noblet, logo JFN"), "/", :title => "Site officiel de Jean François Noblet"
      
    
    #main
      #sidebar
        =yield :sidebar

      #body
        =yield :body
      %p{:style => "clear:both"}
    
    #footer_container
      #footer
        =render :partial => "public/shared/footer"
        %p{:style => "clear:both;"}

    #legals
      %p{:style => "float:right"}
        =link_to "Site réalisé par Nicolas Bally", "http://nicolasbally.com", :target => "_blank"

      %p=link_to "Mentions légales"



