negos_app/app/views/layouts/blog.html.haml
2016-02-16 21:09:48 +01:00

111 lines
2.2 KiB
Plaintext
Executable File

!!!
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
%head
%title=@title.to_s+" "
%meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"}
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%meta{ :"name" => "Description", :content => @description }
%meta{ :"name" => "Keywords", :content => @keywords }
=#<script type="text/javascript" =#src="https://maps.googleapis.com/maps/api/js?libraries=places&key=AIzaSyDSm3YlFVyeEa6KBPmRRkiylbd-xTl-dkQ">
=#</script>
= javascript_include_tag "blog"
= csrf_meta_tag
= stylesheet_link_tag 'blog'
= stylesheet_link_tag '/fonts/Stylograph/stylesheet.css'
<link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
=javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places&amp;sensor=false"
=render :partial => "public/shared/ga"
%body
-if flash[:error] or flash[:notice] or flash[:alert]
.flash
=flash[:error]
=flash[:notice]
=flash[:alert]
.top
#menu
%ul
%li=link_to " sideplace.com", "http://sideplace.com"
=link_to image_tag("/logo.png", :id => "logo"), "http://sideplace.com"
.header
%h1
Sideplace,
%h2
le blog
#main
%br
#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"
.clear
.clear
.bottom
.center
.row
.col-md-4
%h4 Plus d'informations
%ul
%li=link_to "Mentions légales", "/mentions-legales.html"
=link_to image_tag("/nb.png", :id => "nb"), "http://nicolasbally.com", :target => "_blank"