!!!

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

    = javascript_include_tag "public"
    
    = csrf_meta_tag 
    
    = stylesheet_link_tag 'public' 
    = stylesheet_link_tag '/fonts/Stylograph/stylesheet.css' 
    <link rel="stylesheet" href="/fonts/din/stylesheet.css" type="text/css" charset="utf-8" />
    
    
    
    <script src="//use.typekit.net/ipv8wby.js"></script>
    <script>try{Typekit.load();}catch(e){}</script>
    
    =javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false&region=FR"
    
  %body

  
    -if flash[:error] or flash[:notice] or flash[:alert] 
      .flash
      
        =flash[:error]
        =flash[:notice]
        =flash[:alert]

    
    
    .top
      =image_tag("/logo.png", :id => "logo")
      
      .contact
        %div
          +33 (0)3 88 85 05 40
        %div
          =link_to "contact@jipe.fr", "mailto:contact@jipe.fr"
      .clear
    
    
    .main{:class => (@menu_item.slug if @menu_item)}
      
      .center{:style => "position:relative;"}
        
      =yield
      
      .clear
       
      
    

      
      
      .bottom
    
        =link_to image_tag("/nb.png"), "http://nicolasbally.com", :target => "_blank", :id => "nb"


    

    
    :javascript
      $(function() {
        $('.slides').superslides({
          inherit_width_from: '.wide-container',
          inherit_height_from: '.slider',
    
    
          play :4000,
          animation_speed : 2000,
          animation_easing : "swing"
        });
      });
    
  

