Add HTML meta tags for description

This commit is contained in:
sir_omelett
2026-02-21 18:54:45 +00:00
parent e72bce70f8
commit 8a211a1059
+5
View File
@@ -3,6 +3,11 @@
<head> <head>
<title><%= title %></title> <title><%= title %></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<% if (description) { %>
<meta name="description" content="<%= description %>">
<meta property="og:description" content="<%= description %>">
<meta property="twitter:description" content="<%= description %>">
<% } %>
<% <%
// Add an og-image using the first image's thumbnail // Add an og-image using the first image's thumbnail
if (items?.[0]?.previewUrl) { if (items?.[0]?.previewUrl) {