85 lines
2.4 KiB
Plaintext
85 lines
2.4 KiB
Plaintext
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
|
|
%head
|
|
<script src="//use.typekit.net/uuc4jnb.js"></script>
|
|
<script>try{Typekit.load();}catch(e){}</script>
|
|
%title=@title.to_s+" - Vivre."
|
|
=#%meta{:content => "i17q/E5XF9DoCgqyLvpiPkc/KY31lniI12H07Gh+6cQ=", :name => "verify-v1"}/
|
|
|
|
|
|
|
|
%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®ion=FR"
|
|
|
|
%body
|
|
#top
|
|
.center
|
|
|
|
|
|
#logo
|
|
%h1=link_to "Vivre.", "/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.center
|
|
|
|
#main
|
|
|
|
|
|
#corps
|
|
=yield
|
|
|
|
-if 1 != 1
|
|
#sidebar
|
|
|
|
=yield :sidebar
|
|
|
|
|
|
.widget.categories
|
|
-Category.order(:position).each do |category|
|
|
%li
|
|
=link_to category.name, category_public_article_path(:slug => category.slug), :title => "La cabane du Lutin : articles de la catégorie \""+category.name.to_s+'"'
|
|
|
|
.pages.widget
|
|
%ul
|
|
-MenuItem.where(:enabled => true, :visible => true).order(:position).each do |menu_item|
|
|
%li=menu_item_link menu_item
|
|
|
|
|
|
|
|
=link_to image_tag("boutique.png"), shop_path
|
|
|
|
=render "public/articles/sidebar_recents"
|
|
=render "public/articles/sidebar_archives"
|
|
|
|
.contact
|
|
=link_to "Me contacter", "mailto:nico@simplement.la"
|
|
%br
|
|
%br
|
|
%br
|
|
=image_tag "smiley.png", :style => "width:20px;"
|
|
|
|
|
|
%br
|
|
|
|
|