Fix #4372: Wrong attribute name in opengraph tags.

This commit is contained in:
evazion
2020-03-28 15:38:15 -05:00
parent 71e1d7c2a5
commit 70aac1d4b8
2 changed files with 2 additions and 2 deletions

View File

@@ -162,7 +162,7 @@
<meta name="post-has-embedded-notes" content="<%= @post.has_embedded_notes? %>">
<% if policy(@post).visible? %>
<%= tag.meta name: "og:image", content: @post.open_graph_image_url %>
<%= tag.meta property: "og:image", content: @post.open_graph_image_url %>
<% end %>
<%= tag.meta name: "canonical", content: post_url(@post, host: Danbooru.config.hostname, protocol: "https") %>