Skip to content

Commit

Permalink
Growstuff#816 Adjust facebook image size for better thumbnail behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
CloCkWeRX committed Jun 2, 2016
1 parent d68b13d commit 46fcf5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added app/assets/images/facebook-thumbnail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/views/layouts/_meta.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
- if content_for?(:opengraph)
= yield(:opengraph)
- else
= tag("meta", property: "og:image", content: image_url('growstuff-apple-touch-icon-precomposed.png'))
= tag("meta", property: "og:image", content: image_url('facebook-thumbnail.png'))
= tag("meta", property: "og:title", content: "#{content_for?(:title) ? yield(:title) + " - #{ ENV['GROWSTUFF_SITE_NAME']} " : ENV['GROWSTUFF_SITE_NAME']}")
= tag("meta", property: "og:type", content: "website")
= tag("meta", property: "og:url", content: root_url)
Expand Down

0 comments on commit 46fcf5b

Please sign in to comment.