deploy: cache and render source name for news items
This commit is contained in:
@@ -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>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user