Telling Facebook which image you prefer it to show when a article is shared
In Frontmatter:
open_graph_image: http://address/of/image
Inside <head>
of the template (haml-formatted):
/ Facebook open graph image
- if current_page.metadata[:page].try(:[], 'open_graph_image')
%meta{:property => "og:image", :content => "#{current_page.metadata[:page]['open_graph_image']}"}
Other stuff (title etc) that can be controlled with Open Graph Metatags