diff --git a/app/templates/posts/show.html.slim b/app/templates/posts/show.html.slim index 68f4cea..400a673 100644 --- a/app/templates/posts/show.html.slim +++ b/app/templates/posts/show.html.slim @@ -7,7 +7,7 @@ article class="h-entry" - if post.photos? - post.photos.each do |photo| figure - img src=photo["value"] alt=photo["alt"] + img class="u-photo" src=photo["value"] alt=photo["alt"] figcaption = photo["alt"] div class="e-content"