You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
? `The latest coverage of India's startup ecosystem — ${news.length} stories from ${srcNames.length} source${srcNames.length===1 ? "" : "s"}, each linking straight to the publisher.`
1145
+
: `A source-linked feed of the latest coverage of India's startup ecosystem.`;
<div>Headlines are curated from reputable outlets covering India's startup ecosystem — each links straight to the publisher. Nothing here is written or edited by this site; always verify scheme details on the official portals.</div>
1158
+
</div>
1159
+
<div class="news-sources"><span class="ns-label">Sources in this feed</span>${srcNames.map((s)=>`<span class="nc-tag">${esc(s)}</span>`).join("")}</div>
1160
+
</div>
1161
+
<div class="news-grid">
1162
+
${news.map((n)=>newsCard(n)).join("")}
1163
+
</div>` : `
1164
+
<div class="empty-state" style="margin-top:40px">
1165
+
<div class="big">📰</div>
1166
+
<h2 style="font-size:1.3rem">No news yet</h2>
1167
+
<p class="muted" style="margin-top:8px">This feed is populated from <code>data/news.json</code>. Add source-linked headlines there and rebuild.</p>
1168
+
<p style="margin-top:18px"><a class="btn btn-primary" href="directory.html">Browse all schemes</a></p>
1169
+
</div>`}`;
1170
+
write("news.html",shell({root: "",active: "news.html",title: "Ecosystem news",description: "Source-linked news about India's startup ecosystem — funding, policy, schemes and incubators.", body }));
1171
+
}
1172
+
1124
1173
/* ================= 404 ================= */
1125
1174
write("404.html",shell({
1126
1175
root: PATH_PREFIX,active: "",title: "Page not found",
0 commit comments