summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/blog/src/content/blog/markdown-style-guide.md2
-rw-r--r--examples/blog/src/content/blog/using-mdx.mdx2
-rw-r--r--examples/blog/src/pages/blog/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/actions-blog/src/pages/blog/index.astro2
-rw-r--r--packages/astro/e2e/fixtures/actions-react-19/src/pages/blog/index.astro2
-rw-r--r--packages/astro/test/fixtures/content-ssr-integration/src/content/blog/using-mdx.mdx2
-rw-r--r--packages/astro/test/fixtures/content-static-paths-integration/src/content/blog/using-mdx.mdx2
7 files changed, 7 insertions, 7 deletions
diff --git a/examples/blog/src/content/blog/markdown-style-guide.md b/examples/blog/src/content/blog/markdown-style-guide.md
index cf02c4198..fd3de1e88 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 d976693e7..81603de4c 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 ebbcd3042..5dfb9c9c6 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 ebbcd3042..5dfb9c9c6 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 ebbcd3042..5dfb9c9c6 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 036209d3b..f11553129 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 036209d3b..f11553129 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'
---