make og:image canonical according to spec

This commit is contained in:
David Frank
2015-05-21 20:44:37 +08:00
parent ff83e0a7a8
commit 8e1a9e7ccb

View File

@@ -149,7 +149,7 @@
<meta name="always-resize-images" content="<%= CurrentUser.user.always_resize_images? %>">
<meta property="og:title" content="<%= @post.presenter.humanized_essential_tag_string %> - <%= Danbooru.config.app_name %>">
<meta property="og:description" content="<%= @post.presenter.humanized_tag_string %>">
<meta property="og:image" content="<%= @post.preview_file_url %>">
<meta property="og:image" content="http://<%= Danbooru.config.hostname %><%= @post.large_file_url %>">
<!-- Twitter properties -->
<% if @post.twitter_card_supported? %>