blog_perso_app/app/views/layouts/public.html.haml
2015-05-24 18:16:10 +02:00

113 lines
3.5 KiB
Plaintext

!!!
%html
%head
%title="Blog de Nicolas Bally - #{@title}"
= stylesheet_link_tag "public", :media => "all"
=javascript_include_tag "public"
= csrf_meta_tag
-if @thumbnail_image
= raw '<link rel="image_src" href="http://'+("#{HOSTNAME}#{@thumbnail_image}").to_s+'" />'
=raw '<meta property="og:image" content="http://'+("#{HOSTNAME}#{@thumbnail_image}").to_s+'" />'
-else
=raw '<link rel="image_src" href="http://blog.nicolasbally.com/front/logo.png" />'
=raw '<meta property="og:image" content="http://blog.nicolasbally.com/front/logo.png" />'
<script src="//use.typekit.net/siq4hcp.js"></script>
<script>try{Typekit.load();}catch(e){}</script>
<meta name="viewport" content="width=device-width,initial-scale=1">
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false&region=FR"
=render :partial => "public/shared/ga"
%body
%header#top
.center
=link_to image_tag("front/logo.png"), "/"
%h1=link_to "Nicolas Bally", "/"
%h2=link_to "/ Blog", "/"
%navigation#first_nav
=link_to "A propos", "/a-propos-de-nicolas-bally.html"
=link_to "Blog", "/"
=link_to "Contact", "/contact.html"
%p{:style => "clear:both;"}
#main
#corps{:class => ("article_corps" if @article)}=yield
%section#sidebar
.newsletter
%h3.sidebar_title Restez informés !
=render :partial => "public/registrants/form"
=render :partial => "public/articles/sidebar_recents"
%h3.sidebar_title Mes activités
%a.design.activites{:target => "_blank", :href => "http://www.quartz-agence.com", :title => "Site photo de Nicolas Bally, Photographe"}
%span Design & communication
%a.sites.activites{:target => "_blank", :href => "http://www.quartz-agence.com", :title => "Site photo de Nicolas Bally, Photographe"}
%span Sites & applications web
%a.photographe.activites{:target => "_blank", :href => "http://art.nicolasbally.com", :title => "Site photo de Nicolas Bally, Photographe"}
%span Photographie
.clear
%footer
Sauf mentions contraires, textes & photos créés par
=link_to "Nicolas Bally", "mailto:info@nicolasbally.com"
sous
=link_to "license Creative Commons (BY-NC-ND)", "http://creativecommons.org/licenses/by-nc-nd/3.0/fr/", :target => "_blank"
=#link_to image_tag("front/cc-licenses-terms.png"), "http://creativecommons.org/licenses/by-nc-nd/3.0/fr/", :target => "_blank"
=" - "
Merci de m'
=link_to "envoyer un mail", "mailto:info@nicolasbally.com"
lors de toute utilisation de ce contenu -
=link_to "Mentions légales", "#", :id => "legals"
="- :)"
#legals_large
.content
%p Le blog "http://blog.nicolasbally.com" est édité et hébérgé par l'entreprise Nicolas Bally
%p Le directeur de publication est Nicolas Bally
%p Siège social : 1165 rte du châtelard, 38140 Réaumont, France
%p
Siren : 512 769 787
%br
Code APE : 6201Z
%br
N° TVA Intracommunautaire : FR50512769787
%p{:style => "text-align:center"}=link_to "Fermer cette fenêtre", "#"