1 parent a068e43 commit 9ac4988Copy full SHA for 9ac4988
1 file changed
src/pages/activities/[pagePath].astro
@@ -74,12 +74,13 @@ const ogImageUrl = ogImage ? resolveUrl(ogImage) : undefined;
74
75
const jsonLd = {
76
'@context': 'https://schema.org',
77
- '@type': 'Event',
78
- name: title,
+ '@type': 'Article',
+ headline: title,
79
description: summary || `${title} - ${AUTHOR}の活動`,
80
- organizer: { '@type': 'Person', name: AUTHOR },
+ author: { '@type': 'Person', name: AUTHOR },
81
url: canonicalUrl,
82
- startDate: event || undefined,
+ datePublished: publish || undefined,
83
+ ...(shouldShowUpdatedDate && { dateModified: updated }),
84
...(ogImageUrl && { image: { '@type': 'ImageObject', url: ogImageUrl } }),
85
};
86
---
0 commit comments