From 8a211a105980b75c675a15363a0a8576792480ef Mon Sep 17 00:00:00 2001 From: sir_omelett <49458013+esammier@users.noreply.github.com> Date: Sat, 21 Feb 2026 18:54:45 +0000 Subject: [PATCH 1/2] Add HTML meta tags for description --- app/views/gallery.ejs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/views/gallery.ejs b/app/views/gallery.ejs index d86c196..891ef6c 100644 --- a/app/views/gallery.ejs +++ b/app/views/gallery.ejs @@ -3,6 +3,11 @@ <%= title %> + <% if (description) { %> + + + + <% } %> <% // Add an og-image using the first image's thumbnail if (items?.[0]?.previewUrl) { From 75b2edb6ec349f1779b72e66ada70e38c39d8b6e Mon Sep 17 00:00:00 2001 From: sir_omelett <49458013+esammier@users.noreply.github.com> Date: Sat, 21 Feb 2026 18:59:10 +0000 Subject: [PATCH 2/2] Also reorganize title meta tags --- app/views/gallery.ejs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/gallery.ejs b/app/views/gallery.ejs index 891ef6c..27ae580 100644 --- a/app/views/gallery.ejs +++ b/app/views/gallery.ejs @@ -1,8 +1,11 @@ - <%= title %> + <%# Meta tags for link previews (title, optionally description and thumbnail) %> + <%= title %> + + <% if (description) { %> @@ -12,9 +15,7 @@ // Add an og-image using the first image's thumbnail if (items?.[0]?.previewUrl) { %> - - <% } %>