diff --git a/src/server/request-handler.ts b/src/server/request-handler.ts index 6344862..ef4d280 100644 --- a/src/server/request-handler.ts +++ b/src/server/request-handler.ts @@ -1639,7 +1639,7 @@ function htmlPage(): string { const item = document.createElement("article"); item.className = "photo" + (photo.id === state.activePhotoId ? " active" : ""); - const photoTitle = photo.name + "\n" + formatDate(photo.capturedAt); + const photoTitle = photo.name + " - " + formatDate(photo.capturedAt); item.title = photoTitle; item.setAttribute("aria-label", photoTitle); item.innerHTML =