You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
377 B
11 lines
377 B
<% if (post.photos && post.photos.length){ %> |
|
<div class="article-gallery"> |
|
<div class="article-gallery-photos"> |
|
<% post.photos.forEach(function(photo, i){ %> |
|
<a class="article-gallery-img fancybox" href="<%- url_for(photo) %>" rel="gallery_<%= post._id %>"> |
|
<img src="<%- url_for(photo) %>" itemprop="image"> |
|
</a> |
|
<% }) %> |
|
</div> |
|
</div> |
|
<% } %> |