!!!

%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
  %head
    %title=@title.to_s+" "
    
    %meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"}
    %meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
    %meta{ :"name" => "Description", :content => @description }
    %meta{ :"name" => "Keywords", :content => @keywords }  
    

    = javascript_include_tag "public"
    
    = csrf_meta_tag 
    
    = stylesheet_link_tag 'public' 
    = stylesheet_link_tag '/fonts/Stylograph/stylesheet.css' 
    <link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
    =javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places&amp;sensor=false"
    =render :partial => "public/shared/ga"
  %body

  
    -if flash[:error] or flash[:notice] or flash[:alert] 
      .flash
      
        =flash[:error]
        =flash[:notice]
        =flash[:alert]
    
    
    
    .top_home
      #menu
        =link_to image_tag("/logo.png", :id => "logo"), "/"
        =render :partial => "public/shared/menu"
        .clear
      
      #sub_menu
        =yield :sub_menu
    
      %h1 Acheter, vendre, échanger, en toute simplicité.
      =render :partial => "public/annonces/search_form"



    #main

    
      -if 0==1
        .logo{:style => "height:200px;margin:auto;display:block;"}
          =image_tag "/logo-3.png", :style => "margin:auto;display:block;height:100%"
        
      =yield
    =render :partial => "public/shared/categories"
    =render :partial => "public/shared/bottom"
    
    #flashs= bootstrap_flash




