mirror of
https://gitlab.silvrtree.co.uk/martind2000/vulcan.git
synced 2025-01-31 14:40:14 +00:00
11 lines
377 B
Plaintext
11 lines
377 B
Plaintext
|
<% 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>
|
||
|
<% } %>
|