Permalink
Browse files

Add opengraph xmlns declarations and default image meta tag.

  • Loading branch information...
1 parent e868388 commit 02e978f8d58acf46b20295acfb0f083cae2e28ea @mpereira mpereira committed Nov 21, 2011
Showing with 7 additions and 1 deletion.
  1. +7 −1 app/views/layouts/application.html.haml
@@ -1,6 +1,12 @@
!!! Strict
-%html{"xml:lang" => I18n.locale, :lang => I18n.locale, :xmlns => "http://www.w3.org/1999/xhtml" }
+%html{ :xmlns => 'http://www.w3.org/1999/xhtml',
+ :'xmlns:og' => 'http://ogp.me/ns#',
+ :'xmlns:fb' => 'http://www.facebook.com/2008/fbml',
+ :'xml:lang' => I18n.locale,
+ :lang => I18n.locale }
%head{"profile" => "http://a9.com/-/spec/opensearch/1.1/"}
+ %meta{ :property => 'og:image',
+ :content => 'http://umamao.com/images/default_logo.png' }
%title
&= page_title
= include_stylesheets :base, :media => 'all'

0 comments on commit 02e978f

Please sign in to comment.