gs_app/app/views/layouts/public.html.haml
2014-04-16 21:10:47 +02:00

77 lines
2.0 KiB
Plaintext

!!!
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
%head
%title=@title.to_s+" - Garden Studio Production"
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%meta{ :"name" => "Description", :content => @description }
%meta{ :"name" => "Keywords", :content => @keywords }
<meta name="google-site-verification" content="2ll8A6mI1yaIfJsvcIHfoSQUqo2tvlo4zoFgDF3MGLI" />
<link rel="icon" href="/favicon.ico" />
<link rel="shortcut icon" href="/favicon.ico">
<link rel="icon" type="image/png" href="/favicon.png">
<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'
=render :partial => "public/shared/ga"
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false&region=FR"
%body
#top
=link_to image_tag("/logo-b.png", :id => "logo"), "/"
%ul.menu
-MenuItem.where(:parent_id => nil, :enabled => true, :visible => true).order(:position).each do |menu_item|
%li
=menu_item_link(menu_item)
-if menu_item.children.where(:enabled => true, :visible => true).size > 0
%ul
-menu_item.children.where(:enabled => true, :visible => true).order(:position).each do |menu_item|
%li=menu_item_link(menu_item)
.contact
%p
24 COURS SAINT ANDRE
%br
38800 LE PONT DE CLAIX
%br
04 76 98 03 52
%p
Ouvert du Mardi au Vendredi
%br
9H30 à 12H et 15H à 19H
#main
=yield :top
=yield