
<div class= "gal">
  <div id="grid-galerie">
    <% for (let imag of locals.imagini) {%>
        <figure>
          
            <picture>

                <source srcset="/<%-imag.mic%>" media="(max-width:700px)"/>
                <img src="/<%-imag.mare%>" alt="text"/>
            </picture>
            <figcaption><%-imag.descriere%></figcaption>
        </figure>
    
    <%} %>

  </div> 
</div>