Skip to content

Commit 7162c2a

Browse files
authored
Fix undefined title (#1426)
1 parent 88e5662 commit 7162c2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/sprints.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import { getCollection } from 'astro:content';
3-
import { getEntry, render } from 'astro:content';
3+
import { getEntry } from 'astro:content';
44
import Layout from '@layouts/MarkdownLayout.astro';
55
import SprintCard from '@components/SprintCard.astro';
66
import Markdown from "@ui/Markdown.astro";
@@ -22,7 +22,7 @@ const sprints = await getCollection("sprints", ({ data }) => {
2222
2323
---
2424

25-
<Layout title=`${entry.title}` description=`${entry.description}` toc=true>
25+
<Layout title=`${entry.data.title}` description=`${entry.data.description}` toc=true>
2626

2727
<Markdown content={entry.body} />
2828
<div class="flex flex-wrap gap-8 justify-center my-8">

0 commit comments

Comments
 (0)