pic_vert_app/app/views/layouts/plume.html.haml
2018-03-20 17:24:52 +01:00

72 lines
1.6 KiB
Plaintext

!!!
%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 }
= javascript_include_tag "public"
= csrf_meta_tag
= stylesheet_link_tag 'public'
= stylesheet_link_tag '/fonts/Stylograph/stylesheet.css'
<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]
-if !(@menu_item and @menu_item.slug and @menu_item.slug == "index" )
%p{:style => "height:80px;"}
-if @menu_item and @menu_item.slug and @menu_item.slug == "index"
#slider_content
<ul class="bxslider" data-ratio="2.2">
<li><img src="/accueil/1.jpg" title="" /></li>
<li><img src="/accueil/2.jpg" title="" /></li>
<li><img src="/accueil/3.jpg" title="" /></li>
</ul>
=render :partial => "public/shared/top"
#main_plume
=yield
.bottom{:style => "display:none;"}
=link_to image_tag("/nb.png"), "http://nicolasbally.com", :target => "_blank"