#112 Improve og:image base URL function

This commit is contained in:
Alan Grainger
2025-07-21 12:10:18 +02:00
parent a7d7bf22b8
commit d9bd631d16
6 changed files with 28 additions and 28 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
// Add an og-image using the first image's thumbnail
if (items?.[0]?.thumbnailUrl) {
%>
<meta property="og:image" content="<%- items[0].thumbnailUrl %>"/>
<meta property="og:image" content="<%- publicBaseUrl %><%- items[0].thumbnailUrl %>"/>
<% } %>
<link rel="icon" href="/share/static/favicon.ico" type="image/x-icon">
<link type="text/css" rel="stylesheet" href="/share/static/style.css"/>