File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ export const tutorialsCollection = defineCollection({
4444 data . authors . length > 0 &&
4545 data . featuredImage !== undefined &&
4646 data . featuredImageAlt !== undefined &&
47- data . description !== undefined
47+ data . featuredImageAlt . trim ( ) . length > 0 &&
48+ data . description !== undefined &&
49+ data . description . trim ( ) . length > 0
4850 ) ;
4951 } ,
5052 {
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ const relatedExamples =
6262 topic =" tutorials"
6363 className =" tutorials"
6464>
65- { entry .data .authors && <h6 >By { entry .data .authors .join (" , " )} </h6 >}
65+ { entry .data .authors && <section role = " group " aria-label = " authors " >By { entry .data .authors ? .join (" , " )} </section >}
6666 { entry .data .authorsNote && <h7 >{ entry .data .authorsNote } </h7 >}
6767 <div class =" rendered-markdown" >
6868 <Content
You can’t perform that action at this time.
0 commit comments