refactor: use a content collection for talks
This commit is contained in:
parent
85644e4f2d
commit
7b97ad3af2
42 changed files with 111 additions and 92 deletions
|
@ -6,8 +6,7 @@ interface ItemProps {
|
|||
title: string;
|
||||
}
|
||||
|
||||
const { date, description, excerpt, title } = Astro.props.item.item
|
||||
.frontmatter as ItemProps;
|
||||
const { date, description, excerpt, title } = Astro.props.item.item.data as ItemProps;
|
||||
const { slug } = Astro.props.item;
|
||||
---
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue