diff --git a/system/netlify/functions/news.mjs b/system/netlify/functions/news.mjs index 45dd848746..1b3dec8800 100644 --- a/system/netlify/functions/news.mjs +++ b/system/netlify/functions/news.mjs @@ -552,8 +552,10 @@ function renderPostRow(post, idx, basePath) { } catch { return ""; } })() : ""; const itemUrl = `${basePath}/${post.code}`; + const ext = post.externalAttribution; + const rowClass = ext ? `news-row news-row--external news-row--external-${escapeHtml(ext.source || 'bsky')}` : "news-row"; return ` -