|
|
@ -22,7 +22,7 @@ function init_slideshow(images) {
|
|
|
|
function slide_template(slide_data) {
|
|
|
|
function slide_template(slide_data) {
|
|
|
|
return `<div class="slide-item" style="background-image: url('${slide_data.url}')">
|
|
|
|
return `<div class="slide-item" style="background-image: url('${slide_data.url}')">
|
|
|
|
<p class="slide-info">${slide_data.text}</p>
|
|
|
|
<p class="slide-info">${slide_data.text}</p>
|
|
|
|
<a href="${slide_data.source || slide_data.url}" target="_blank" rel="noopener" class="full-source-link">View image</a>
|
|
|
|
<a href="${slide_data.source || slide_data.url}" target="_blank" rel="noopener" class="full-source-link">Full resolution</a>
|
|
|
|
</div>`;
|
|
|
|
</div>`;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|