suite
This commit is contained in:
parent
da1b49cb21
commit
256fbe74df
@ -20,8 +20,8 @@
|
||||
=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://heylium.quartz.xyz'+@facebook_img.to_s+'"/>'
|
||||
=raw '<link rel="image_src" href="http://heylium.quartz.xyz'+@facebook_img.to_s+'"/>'
|
||||
=raw '<meta property="og:image" content="http://heylium.io'+@facebook_img.to_s+'"/>'
|
||||
=raw '<link rel="image_src" href="http://heylium.io'+@facebook_img.to_s+'"/>'
|
||||
|
||||
=raw '<meta name="twitter:card" content="summary_large_image">'
|
||||
|
||||
@ -31,12 +31,12 @@
|
||||
=raw '<meta property="twitter:url" content="'+request.url.to_s+'"/>'
|
||||
|
||||
|
||||
=raw '<meta property="twitter:image" content="http://heylium.quartz.xyz'+@facebook_img.to_s+'"/>'
|
||||
=raw '<meta property="twitter:image" content="http://heylium.io'+@facebook_img.to_s+'"/>'
|
||||
|
||||
|
||||
|
||||
|
||||
-@img_size = FastImage.size('http://heylium.quartz.xyz'+@facebook_img.to_s)
|
||||
-@img_size = FastImage.size('http://heylium.io'+@facebook_img.to_s)
|
||||
|
||||
-if @img_size and @img_size.size > 0
|
||||
=raw '<meta property="og:image:width" content="'+@img_size[0].to_s+'"/>'
|
||||
|
Loading…
x
Reference in New Issue
Block a user