From b8cfed91af2265a6f706e42d3abdf5b782fa622b Mon Sep 17 00:00:00 2001 From: magnolia-fan Date: Tue, 29 Nov 2011 14:29:20 +0400 Subject: [PATCH] Facebook meta --- app/views/application/_like.html.haml | 2 +- app/views/layouts/application.html.haml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/application/_like.html.haml b/app/views/application/_like.html.haml index 1c53c46..8b7105f 100644 --- a/app/views/application/_like.html.haml +++ b/app/views/application/_like.html.haml @@ -1,2 +1,2 @@ -%iframe.fb-like{ src: "https://www.facebook.com/plugins/like.php?layout=button_count&href=http://facebook.com/BeatHavenHQ", scrolling: "no", frameborder: 0, style: "border:none; width:90px; height:20px" } +%iframe.fb-like{ src: "https://www.facebook.com/plugins/like.php?layout=button_count&href=http://beathaven.org/", scrolling: "no", frameborder: 0, style: "border:none; width:90px; height:20px" } #vk-like diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index abfaeb8..38777b8 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -5,6 +5,9 @@ %meta{ :charset => "utf-8" } %meta{ :name => "csrf-token", content: form_authenticity_token } %meta{ name: "description", content: "Ultimate Online Jukebox" } + %meta{ property: "og:title", content: "BeatHaven" } + %meta{ property: "og:description", content: "Ultimate Online Jukebox" } + %meta{ property: "og:image", content: image_path("logo.png") } %link{ rel: "shortcut icon", href: "/favicon.ico" } %link{ rel: "apple-touch-icon", href: image_path("logo.png") } %link{ rel: "search", type: "application/opensearchdescription+xml", title: "BeatHaven", href: "/opensearch.xml"}