diff --git a/examples/blog/src/content/blog/markdown-style-guide.md b/examples/blog/src/content/blog/markdown-style-guide.md index cf02c4198f..fd3de1e882 100644 --- a/examples/blog/src/content/blog/markdown-style-guide.md +++ b/examples/blog/src/content/blog/markdown-style-guide.md @@ -1,7 +1,7 @@ --- title: 'Markdown Style Guide' description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.' -pubDate: 'Jul 01 2022' +pubDate: 'Jun 19 2024' heroImage: '/blog-placeholder-1.jpg' --- diff --git a/examples/blog/src/content/blog/using-mdx.mdx b/examples/blog/src/content/blog/using-mdx.mdx index d976693e74..81603de4c8 100644 --- a/examples/blog/src/content/blog/using-mdx.mdx +++ b/examples/blog/src/content/blog/using-mdx.mdx @@ -1,7 +1,7 @@ --- title: 'Using MDX' description: 'Lorem ipsum dolor sit amet' -pubDate: 'Jul 02 2022' +pubDate: 'Jun 01 2024' heroImage: '/blog-placeholder-5.jpg' --- diff --git a/examples/blog/src/pages/blog/index.astro b/examples/blog/src/pages/blog/index.astro index ebbcd30427..5dfb9c9c61 100644 --- a/examples/blog/src/pages/blog/index.astro +++ b/examples/blog/src/pages/blog/index.astro @@ -7,7 +7,7 @@ import { getCollection } from 'astro:content'; import FormattedDate from '../../components/FormattedDate.astro'; const posts = (await getCollection('blog')).sort( - (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() + (a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf() ); --- diff --git a/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/index.astro b/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/index.astro index ebbcd30427..5dfb9c9c61 100644 --- a/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/index.astro +++ b/packages/astro/e2e/fixtures/actions-blog/src/pages/blog/index.astro @@ -7,7 +7,7 @@ import { getCollection } from 'astro:content'; import FormattedDate from '../../components/FormattedDate.astro'; const posts = (await getCollection('blog')).sort( - (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() + (a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf() ); --- diff --git a/packages/astro/e2e/fixtures/actions-react-19/src/pages/blog/index.astro b/packages/astro/e2e/fixtures/actions-react-19/src/pages/blog/index.astro index ebbcd30427..5dfb9c9c61 100644 --- a/packages/astro/e2e/fixtures/actions-react-19/src/pages/blog/index.astro +++ b/packages/astro/e2e/fixtures/actions-react-19/src/pages/blog/index.astro @@ -7,7 +7,7 @@ import { getCollection } from 'astro:content'; import FormattedDate from '../../components/FormattedDate.astro'; const posts = (await getCollection('blog')).sort( - (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() + (a, b) => b.data.pubDate.valueOf() - a.data.pubDate.valueOf() ); --- diff --git a/packages/astro/test/fixtures/content-ssr-integration/src/content/blog/using-mdx.mdx b/packages/astro/test/fixtures/content-ssr-integration/src/content/blog/using-mdx.mdx index 036209d3bb..f115531298 100644 --- a/packages/astro/test/fixtures/content-ssr-integration/src/content/blog/using-mdx.mdx +++ b/packages/astro/test/fixtures/content-ssr-integration/src/content/blog/using-mdx.mdx @@ -1,7 +1,7 @@ --- title: 'Using MDX' description: 'Lorem ipsum dolor sit amet' -pubDate: 'Jul 02 2022' +pubDate: 'Jun 01 2024' heroImage: '/placeholder-hero.jpg' --- diff --git a/packages/astro/test/fixtures/content-static-paths-integration/src/content/blog/using-mdx.mdx b/packages/astro/test/fixtures/content-static-paths-integration/src/content/blog/using-mdx.mdx index 036209d3bb..f115531298 100644 --- a/packages/astro/test/fixtures/content-static-paths-integration/src/content/blog/using-mdx.mdx +++ b/packages/astro/test/fixtures/content-static-paths-integration/src/content/blog/using-mdx.mdx @@ -1,7 +1,7 @@ --- title: 'Using MDX' description: 'Lorem ipsum dolor sit amet' -pubDate: 'Jul 02 2022' +pubDate: 'Jun 01 2024' heroImage: '/placeholder-hero.jpg' ---