{ let scriptID = 'js-header-sneak-peek'; let images = [ { url: '/january-2022-edition/', imgSrc: '/content/revamp/sneak-peek/january-2022/dropdown.jpg', subtitle: 'JANUARY 2022 EDITION', style: 'object-position: right', }, { url: '/february-2022-edition/', imgSrc: '/content/revamp/sneak-peek/february-2022/dropdown.jpg', subtitle: 'FEBRUARY 2022 EDITION', style: 'object-position: right', }, ]; let html = _.template(`

`)({images}); document.querySelector('#' + scriptID).outerHTML = html; } //