forked from e621ng/e621ng
point twitter card image to large file if it exists
This commit is contained in:
parent
a25092c8b8
commit
fa1b65a859
@ -112,7 +112,7 @@
|
||||
<!-- Twitter properties -->
|
||||
<% if @post.twitter_card_supported? %>
|
||||
<meta name="twitter:card" content="photo">
|
||||
<meta name="twitter:image:src" content="http://<%= Danbooru.config.hostname %><%= @post.file_url %>">
|
||||
<meta name="twitter:image:src" content="http://<%= Danbooru.config.hostname %><%= @post.large_file_url %>">
|
||||
<meta name="twitter:image:width" content="<%= @post.image_width %>">
|
||||
<meta name="twitter:image:height" content="<%= @post.image_height %>">
|
||||
<% end %>
|
||||
|
Loading…
Reference in New Issue
Block a user