Add article specific meta tags for better SEO and social sharing
Enhances the `usePageMeta` hook to include `article:published_time`, `article:author`, and `article:section` meta tags. Updates `ArticlePage` to pass these new properties when available. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 23852c00-4779-460a-9e0c-d09fee4b6c92 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 58667ffe-2f4f-4581-bbf7-758f889552ed Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/23852c00-4779-460a-9e0c-d09fee4b6c92/koutl3W Replit-Helium-Checkpoint-Created: true
This commit is contained in:
@@ -115,6 +115,9 @@ export default function ArticlePage() {
|
||||
ogImage: articleImage || undefined,
|
||||
ogType: "article",
|
||||
ogUrl: articleUrl,
|
||||
articlePublishedTime: new Date(article.publishedAt).toISOString(),
|
||||
articleAuthor: article.author || "Folx Music Television",
|
||||
articleSection: article.category || "News",
|
||||
} : undefined
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user