@@ -40,7 +40,7 @@ export function ContentPostPage({
4040 const showUpdated = modifiedIso . slice ( 0 , 10 ) !== post . date . slice ( 0 , 10 )
4141
4242 return (
43- < article className = 'w-full bg-[var(--bg)]' itemScope itemType = 'https://schema.org/BlogPosting' >
43+ < article className = 'w-full bg-[var(--bg)]' >
4444 < JsonLd data = { graphJsonLd } />
4545 < header className = 'mx-auto w-full max-w-[1728px] px-10 pt-[112px] max-sm:pt-20 max-md:px-7 max-lg:px-8 max-xl:px-9' >
4646 < div className = 'mb-6' >
@@ -59,7 +59,6 @@ export function ContentPostPage({
5959 sizes = '(max-width: 1023px) calc(100vw - 64px), 450px'
6060 priority
6161 fetchPriority = 'high'
62- itemProp = 'image'
6362 unoptimized
6463 />
6564 </ div >
@@ -68,13 +67,13 @@ export function ContentPostPage({
6867 < div >
6968 < h1
7069 className = 'text-balance text-[28px] text-[var(--text-primary)] leading-[110%] tracking-[-0.02em] sm:text-[36px] md:text-[44px] lg:text-[52px]'
71- itemProp = 'headline'
70+ data-speakable = 'headline'
7271 >
7372 { post . title }
7473 </ h1 >
7574 < p
7675 className = 'mt-4 text-[var(--text-body)] text-base leading-[150%] tracking-[0.02em] sm:text-lg sm:leading-7'
77- itemProp = 'description'
76+ data-speakable = 'description'
7877 >
7978 { post . description }
8079 </ p >
@@ -84,25 +83,21 @@ export function ContentPostPage({
8483 < time
8584 className = 'text-[var(--text-secondary)] text-xs uppercase tracking-[0.1em]'
8685 dateTime = { post . date }
87- itemProp = 'datePublished'
8886 >
8987 { formatPostDate ( post . date ) }
9088 </ time >
91- { showUpdated ? (
89+ { showUpdated && (
9290 < >
9391 < span aria-hidden = 'true' className = 'text-[var(--text-secondary)] text-xs' >
9492 ·
9593 </ span >
9694 < time
9795 className = 'text-[var(--text-secondary)] text-xs uppercase tracking-[0.1em]'
9896 dateTime = { modifiedIso }
99- itemProp = 'dateModified'
10097 >
10198 Updated { formatPostDate ( modifiedIso ) }
10299 </ time >
103100 </ >
104- ) : (
105- < meta itemProp = 'dateModified' content = { modifiedIso } />
106101 ) }
107102 </ div >
108103 < div className = 'flex items-center gap-3' >
@@ -118,11 +113,8 @@ export function ContentPostPage({
118113 href = { `${ basePath } /authors/${ encodeURIComponent ( a ?. id ?? '' ) } ` }
119114 rel = 'author'
120115 className = 'text-[var(--text-secondary)] text-xs uppercase tracking-[0.1em] hover:text-[var(--text-primary)]'
121- itemProp = 'author'
122- itemScope
123- itemType = 'https://schema.org/Person'
124116 >
125- < span itemProp = 'name' > { a ?. name } </ span >
117+ { a ?. name }
126118 </ Link >
127119 </ div >
128120 ) ) }
@@ -139,7 +131,7 @@ export function ContentPostPage({
139131
140132 < div className = 'mx-auto w-full max-w-[1728px] px-10 max-md:px-7 max-lg:px-8 max-xl:px-9' >
141133 < div className = 'border-[var(--border)] border-x' >
142- < div className = 'mx-auto max-w-[900px] px-6 py-16' itemProp = 'articleBody' >
134+ < div className = 'mx-auto max-w-[900px] px-6 py-16' >
143135 < div
144136 className = { cn (
145137 'prose prose-lg max-w-none prose-headings:font-season prose-headings:tracking-[-0.02em]' ,
@@ -169,11 +161,6 @@ export function ContentPostPage({
169161 </ div >
170162
171163 < div className = '-mt-px h-px w-full bg-[var(--border)]' />
172-
173- < meta itemProp = 'publisher' content = 'Sim' />
174- < meta itemProp = 'inLanguage' content = 'en-US' />
175- < meta itemProp = 'keywords' content = { post . tags . join ( ', ' ) } />
176- { post . wordCount && < meta itemProp = 'wordCount' content = { String ( post . wordCount ) } /> }
177164 </ article >
178165 )
179166}
0 commit comments