added share links, moved image resize back to notice banner style
This commit is contained in:
@@ -46,7 +46,6 @@
|
||||
<menu id="post-sections">
|
||||
<li><a href="#comments">Comments</a></li>
|
||||
<li><a href="#edit" id="post-edit-link">Edit</a></li>
|
||||
<li><a href="#favorite-tab">Favorite</a></li>
|
||||
<li><a href="#share">Share</a></li>
|
||||
</menu>
|
||||
|
||||
@@ -62,12 +61,8 @@
|
||||
<%= render "posts/partials/show/edit", :post => @post %>
|
||||
</section>
|
||||
|
||||
<section id="favorite-tab" style="display: none;">
|
||||
<p>Favoriting...</p>
|
||||
</section>
|
||||
|
||||
<section id="share-tab" style="display: none;">
|
||||
<h1>Share</h1>
|
||||
<section id="share" style="display: none;">
|
||||
<%= render "posts/partials/show/share", :post => @post %>
|
||||
</section>
|
||||
</section>
|
||||
</div>
|
||||
@@ -98,6 +93,9 @@
|
||||
<meta name="post-is-deleted" content="<%= @post.is_deleted? %>">
|
||||
<meta name="post-is-flagged" content="<%= @post.is_flagged? %>">
|
||||
<meta name="config-large-width" content="<%= Danbooru.config.large_image_width %>">
|
||||
<meta property="og:title" content="<%= @post.essential_tag_string %>">
|
||||
<meta property="og:description" content="<%= @post.tag_string %>">
|
||||
<meta property="og:image" content="<%= @post.preview_file_url %>">
|
||||
<% end %>
|
||||
|
||||
<%= render "posts/partials/common/secondary_links" %>
|
||||
|
||||
Reference in New Issue
Block a user