suite
This commit is contained in:
parent
499bde8349
commit
7bfacf7749
@ -45,6 +45,7 @@ $blue :#2dadb1;
|
|||||||
right:0;
|
right:0;
|
||||||
bottom:0;
|
bottom:0;
|
||||||
.close_popup{
|
.close_popup{
|
||||||
|
z-index:6;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:-20px;
|
top:-20px;
|
||||||
left:-20px;
|
left:-20px;
|
||||||
@ -56,12 +57,12 @@ $blue :#2dadb1;
|
|||||||
background:white;
|
background:white;
|
||||||
|
|
||||||
margin:auto;
|
margin:auto;
|
||||||
max-width:800px;
|
max-width:850px;
|
||||||
|
|
||||||
position:relative;
|
position:relative;
|
||||||
|
|
||||||
.inner{
|
.inner{
|
||||||
padding:20px;
|
padding:0px;
|
||||||
overflow:auto;
|
overflow:auto;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
top:0;
|
top:0;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
-@lang = @lang || LangSite.first
|
-@lang = @lang || LangSite.first
|
||||||
-if !@facebook_img or @facebook_img == ""
|
-if !@facebook_img or @facebook_img == ""
|
||||||
-@facebook_img= ""
|
-@facebook_img= "/Image-home.jpg"
|
||||||
!!!
|
!!!
|
||||||
-if @description and @description == ""
|
-if @description and @description == ""
|
||||||
- @description = ""
|
- @description = ""
|
||||||
@ -16,6 +16,36 @@
|
|||||||
%meta{ :"name" => "Keywords", :content => @keywords }
|
%meta{ :"name" => "Keywords", :content => @keywords }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
=raw '<meta property="og:title" content="'+@title.to_s+'" />'
|
||||||
|
=raw '<meta property="og:description" content="'+@description.to_s+'" />'
|
||||||
|
-if @facebook_img
|
||||||
|
=raw '<meta property="og:image" content="http://idn.quartz.xyz'+@facebook_img.to_s+'"/>'
|
||||||
|
=raw '<link rel="image_src" href="http://idn.quartz.xyz'+@facebook_img.to_s+'"/>'
|
||||||
|
|
||||||
|
=raw '<meta name="twitter:card" content="summary_large_image">'
|
||||||
|
|
||||||
|
=raw '<meta property="twitter:description" content="'+((@description and @description != "") ? @description : "En savoir plus :").to_s+'"/>'
|
||||||
|
=#raw '<meta property="twitter:description" content="'+@description.to_s+'"/>'
|
||||||
|
=raw '<meta property="twitter:title" content="'+@title.to_s+'"/>'
|
||||||
|
=raw '<meta property="twitter:site" content="@onevoiceplanet"/>'
|
||||||
|
=raw '<meta property="twitter:creator" content="@onevoiceplanet"/>'
|
||||||
|
=raw '<meta property="twitter:url" content="'+request.url.to_s+'"/>'
|
||||||
|
|
||||||
|
|
||||||
|
=raw '<meta property="twitter:image" content="http://idn.quartz.xyz'+@facebook_img.to_s+'"/>'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
-@img_size = FastImage.size('http://idn.quartz.xyz'+@facebook_img.to_s)
|
||||||
|
|
||||||
|
-if @img_size and @img_size.size > 0
|
||||||
|
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
|
||||||
|
=raw '<meta property="og:image:height" content="'+@img_size[1].to_s+'"/>'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
= javascript_include_tag "public"
|
= javascript_include_tag "public"
|
||||||
|
|
||||||
= csrf_meta_tag
|
= csrf_meta_tag
|
||||||
@ -25,6 +55,7 @@
|
|||||||
= stylesheet_link_tag '/fonts/Stylograph/stylesheet.css'
|
= stylesheet_link_tag '/fonts/Stylograph/stylesheet.css'
|
||||||
|
|
||||||
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
|
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700' rel='stylesheet' type='text/css'>
|
||||||
|
<link rel="icon" type="image/png" href="/favicon.png">
|
||||||
|
|
||||||
|
|
||||||
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
||||||
|
BIN
public/favicon.png
Normal file
BIN
public/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 450 B |
Loading…
x
Reference in New Issue
Block a user