remove visible publication dates from articles (keep JSON-LD for SEO)
Drops the rendered date span from: - ArticleFeed.tsx (homepage feed) - news/page.tsx (news list — also drops the orphan separator) - news/[slug]/NewsArticleDetailClient.tsx (article header + related-articles row, drops paired separators) - AISuggestedArticles.tsx (sidebar — keeps readTime alone) JSON-LD datePublished/publishedTime in news/[slug]/page.tsx and articles/[slug]/page.tsx is unchanged so search engines still see the publication date.
This commit is contained in:
@@ -237,8 +237,6 @@ export default function NewsPage() {
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center gap-2 mb-1.5">
|
||||
<span className="text-[#3b82f6] font-body text-[10px] font-bold uppercase tracking-wider">{article.category}</span>
|
||||
<span className="text-[#444] text-[10px]">·</span>
|
||||
<span className="text-[#555] font-body text-[11px]">{article.date}</span>
|
||||
</div>
|
||||
<h2 className="font-heading text-[#e0e0e0] text-base font-bold leading-snug mb-2 group-hover:text-[#3b82f6] transition-colors line-clamp-2">
|
||||
{article.title}
|
||||
|
||||
Reference in New Issue
Block a user