2016-02-02 16:19:44 +00:00
|
|
|
<% if (post.photos && post.photos.length) { %>
|
|
|
|
<div class="article-gallery">
|
2016-08-20 12:18:00 +00:00
|
|
|
<% post.photos.forEach(function(photo, i) { %>
|
|
|
|
<a class="gallery-item" href="<%- url_for(photo) %>" rel="gallery_<%= post._id %>">
|
|
|
|
<img src="<%- url_for(photo) %>" itemprop="image" />
|
|
|
|
</a>
|
|
|
|
<% }) %>
|
2016-02-02 16:19:44 +00:00
|
|
|
</div>
|
|
|
|
<% } %>
|