';
html += '
' + escapeHtml(feat.title) + '
';
@@ -564,7 +564,8 @@ function buildDailyRundownHtml() {
if (heroImage) {
var imgLoading = ci === 0 ? 'eager' : 'lazy';
- html += '
 + ')
';
+ var cardFallback = 'this.parentElement.style.setProperty(\'--reel-color\',\'' + clusterColor + '\');this.outerHTML=\'
\'';
+ html += '
 + ')
';
} else {
html += '
' + escapeHtml(c.label.charAt(0).toUpperCase()) + '
';
}
@@ -629,7 +630,8 @@ function buildSectionRundownHtml() {
var onclick = 'dashLoadArticle(\'' + escapeJsStr(a.filename) + '\')';
html += '
';
if (a.image) {
- html += '
 + ')
';
+ var compactFallback = 'this.outerHTML=dashCardInitialHtml(\'' + escapeHtml(a.domain || '').replace(/'/g, "\\'") + '\',80)';
+ html += '
 + ')
';
} else {
html += dashCardInitialHtml(a.domain, 80);
}
@@ -664,7 +666,8 @@ function dashCardHtml(f, progressPct, variant) {
// Image or source-colored initial
if (f.image) {
- html += '
 + ')
';
+ var dashFallback = 'this.outerHTML=dashCardInitialHtml(\'' + escapeHtml(feedName).replace(/'/g, "\\'") + '\',' + imgHeight + ')';
+ html += '
 + ')
';
} else {
html += dashCardInitialHtml(feedName, imgHeight);
}
@@ -908,9 +911,11 @@ function renderArticle(text, filename) {
html += '
' + metaLineParts.join('·') + '
';
}
- // Hero image from frontmatter thumbnail (feed media:content or og:image)
+ // Hero image from frontmatter thumbnail (feed media:content or og:image).
+ // Tiny images (favicons/logos some sites ship as og:image) are hidden
+ // rather than rez'd up full-width (#115).
if (meta && meta.thumbnail) {
- html += '
';
+ html += '
';
}
// Detect review/summary articles where Summarize doesn't make sense