ruby: size ||= :thumb_small image = post.image .image-container class=size data=image_container_data(post).merge(size: size) - if post.duplicate_id.present? .media-box__overlay strong Marked Duplicate - elsif post.destroyed_content .media-box__overlay strong Destroyed Content - elsif post.hidden_from_users .media-box__overlay strong Deleted: =< post.deletion_reason = render partial: 'posts/images/image_container_thumb', locals: { post: post, paste: false, size: size, post_link: post_link }