deploy: cache and render source name for news items

This commit is contained in:
2026-05-27 14:19:12 +00:00
parent 79b6d4857d
commit abe61d1156
2 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -281,7 +281,7 @@
<div class="story-content">
${story.image ? `<img src="${story.image}" style="width:100%; max-height:450px; object-fit:cover; border-radius:16px; margin-bottom:24px; box-shadow: 0 4px 15px rgba(0,0,0,0.35);" onerror="this.style.display='none'">` : ''}
<div class="story-summary">${formattedSummary}</div>
<div class="story-meta">⌚ Published: ${story.date || 'Recent'}</div>
<div class="story-meta">📰 Source: ${story.source || 'Daily Digest'} | ⌚ Published: ${story.date || 'Recent'}</div>
</div>
</div>
`;