File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -150,27 +150,28 @@ if (collectionType === 'feeds') {
150150 <div class = " py-2 op-50" >nothing here yet</div >
151151 ) : (
152152 sortedStreamItems .map ((item , idx ) => {
153+ const { data } = item
153154 return (
154155 <>
155156 { ! isSameYear (
156- item .pubDate ,
157- sortedStreamItems [idx - 1 ]?.pubDate
157+ data .pubDate ,
158+ sortedStreamItems [idx - 1 ]?.data . pubDate
158159 ) && (
159160 <Categorizer
160161 { idx }
161162 needId = { tocEnabled }
162- text = { getYear (item .pubDate ).toString ()}
163+ text = { getYear (data .pubDate ).toString ()}
163164 />
164165 )}
165166 <ListItem
166167 { idx }
167168 { collectionType }
168- redirect = { item . link }
169- title = { item . id }
170- video = { item . video }
171- radio = { item . radio }
172- date = { item . pubDate }
173- platform = { item . platform }
169+ title = { data . id }
170+ date = { data . pubDate }
171+ radio = { data . radio }
172+ video = { data . video }
173+ platform = { data . platform }
174+ redirect = { data . link }
174175 />
175176 </>
176177 )
Original file line number Diff line number Diff line change 11import { z } from 'astro:content'
2+ import type { SchemaContext } from 'astro:content'
23
34/* Pages */
45export const pageSchema = z . object ( {
You can’t perform that action at this time.
0 commit comments