diff --git a/themes/one-pager/assets/js/scripts.js b/themes/one-pager/assets/js/scripts.js index ec69201..d1a0b5e 100644 --- a/themes/one-pager/assets/js/scripts.js +++ b/themes/one-pager/assets/js/scripts.js @@ -61,10 +61,7 @@ function openPhotoLightbox(index) { year: 'numeric', month: 'short', day: 'numeric' }); if (dateStr) metaText += `📅 ${dateStr}`; - if (photo.pubkey) { - if (metaText) metaText += ' | '; - metaText += `🖊️ ${photo.pubkey}`; - } + lightboxMeta.textContent = metaText || '📅 No date available'; lightboxCounter.textContent = `${currentPhotoIndex + 1} / ${allPicturesArray.length}`;