Fixed content collections
This commit is contained in:
parent
c94fb25aba
commit
65d4339b9f
12 changed files with 67 additions and 111 deletions
src/components
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
export interface Props {
|
||||
url: string
|
||||
slug: string
|
||||
title: string
|
||||
questReleaseDate: string
|
||||
shortdescription: string
|
||||
|
@ -11,7 +11,8 @@ const options_date: Intl.DateTimeFormatOptions = {
|
|||
month: 'long',
|
||||
day: '2-digit',
|
||||
}
|
||||
const { shortdescription, questReleaseDate, url, title } = Astro.props
|
||||
const { shortdescription, questReleaseDate, slug, title } = Astro.props
|
||||
const url = `/database/${slug}`
|
||||
const render_date = new Date(questReleaseDate).toLocaleDateString(
|
||||
'en-GB',
|
||||
options_date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue