fix metadata change in games
This commit is contained in:
parent
333d6c95a3
commit
606d9a285b
3 changed files with 16 additions and 11 deletions
|
|
@ -1 +1 @@
|
|||
Subproject commit 9e7ed8e596386ab05da15fa81a6d90c19d625f43
|
||||
Subproject commit efff561a802a40e93493d01a50ef228bfe0c485e
|
||||
|
|
@ -1,15 +1,20 @@
|
|||
---
|
||||
import Layout from '../../layouts/Layout.astro';
|
||||
import { getCollection } from 'astro:content';
|
||||
|
||||
const games = await getCollection('games');
|
||||
---
|
||||
|
||||
<Layout title="aleidk">
|
||||
<h1>Games</h1>
|
||||
|
||||
<ul>
|
||||
{games.map(item => (
|
||||
{
|
||||
games.map((item) => (
|
||||
<li>
|
||||
<a href={`games/${item.slug}`}>{item.data.Title}</a>
|
||||
<a href={`games/${item.slug}`}>{item.data.title}</a>
|
||||
</li>
|
||||
))}
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
</Layout>
|
||||
|
|
|
|||
|
|
@ -69,13 +69,13 @@ const games = await getCollection('games', (_, idx) => idx < 3);
|
|||
{
|
||||
games.map((item) => (
|
||||
<li>
|
||||
<a href={`games/${item.slug}`}>{item.data.Title}</a>
|
||||
<a href={`games/${item.slug}`}>{item.data.title}</a>
|
||||
</li>
|
||||
))
|
||||
}
|
||||
</ul>
|
||||
<div slot="footer" class="text-end">
|
||||
<a href="">See more...</a>
|
||||
<a href="/games">See more...</a>
|
||||
</div>
|
||||
</Card>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue