From d059add9632a7b4f17764bc0ff776f3e674ae999 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Mon, 11 Jun 2018 02:46:10 +0200 Subject: [PATCH] suite --- app/views/layouts/public.html.haml | 42 +++++++++++++++--------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml index 42fa752..b2d4a76 100644 --- a/app/views/layouts/public.html.haml +++ b/app/views/layouts/public.html.haml @@ -6,7 +6,7 @@ -@menu_shadow=true -@lang = @lang || LangSite.first -if !@facebook_img or @facebook_img == "" - -@facebook_img= "" + -@facebook_img= "/public_medias/image_file/file/13/large_4df7bef3.jpg" !!! - @social_url = @social_url || request.url.to_s @@ -42,7 +42,25 @@ %meta{ :"name" => "Description", :content => @description } %meta{ :"name" => "Keywords", :content => @keywords } - + -if @facebook_img + =raw '' + =raw '' + + =raw '' + + + + + =raw '' + + + + + -@img_size = FastImage.size('http://karimpresident.net'+@facebook_img.to_s) + + -if @img_size and @img_size.size > 0 + =raw '' + =raw '' = javascript_include_tag "public" @@ -54,25 +72,7 @@ =javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=false" - - - - - +