<%= require('html-loader!./partials/head.html') %> <%= require('html-loader!./partials/header.html') %>

Basic example

Just a very basic example.

<% const photos = [] %> <% photos.push([640, '1.1.jpg','Photo by bruce mars from Pexels', '935743']) %> <% photos.push([480, '2.1.jpg','Photo by Helena Lopes from Pexels', '1015568']) %> <% photos.push([640, '3.1.jpg','Photo by bruce mars from Pexels', '927022']) %> <% photos.push([480, '4.1.jpg','Photo by Snapwire from Pexels', '618613']) %> <% photos.push([640, '5.1.jpg','Photo by bruce mars from Pexels','935756']) %> <% photos.push([480, '6.1.jpg','Photo by Yury Kim from Pexels','585419']) %> <% photos.forEach(([width,src,caption,id]) => { %>

<%= caption %>

<% }) %>