This commit is contained in:
r888888888
2017-09-08 15:01:12 -07:00
parent 67d4a9fc46
commit 68863ed018
5 changed files with 12 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ class PostPresenter < Presenter
tag_param = nil
end
html << %{<a href="#{path}/#{post.id}#{tag_param}">}
html << %{<img class="cropped-#{CurrentUser.cropped_thumbnails?}" itemprop="thumbnailUrl" src="#{post.preview_file_url}" alt="#{h(post.tag_string)}">}
html << %{<img itemprop="thumbnailUrl" src="#{post.preview_file_url}" alt="#{h(post.tag_string)}">}
html << %{</a>}
if options[:pool]