abtmtr-comms/views/components/galleryView.ejs

13 lines
370 B
Text
Raw Permalink Normal View History

2024-10-06 07:20:01 +00:00
<section class="galleryView">
<h2><%= title %></h2>
<ul>
<% images.forEach(([ img, desc, url ]) => { %>
<li>
<figure>
2024-10-11 18:57:39 +00:00
<a href="<%= img %>"><img class="screen" src="<%= img %>" alt="<%= desc %>" title="<%= desc %>" /></a>
2024-10-06 07:20:01 +00:00
<figcaption><a href="<%= url %>"><%= desc %></a></figcaption>
</figure>
</li>
<% }) %>
</ul>
</section>