From fa653cf333bc5747070c8dd12f51e7f5095e0a75 Mon Sep 17 00:00:00 2001 From: Kirk Solar Date: Wed, 22 Jan 2025 10:17:03 -0800 Subject: [PATCH] Update drupal.mdx changing incorrect "created" prop to correct "date" prop name in Drupal integration instruction. --- src/content/docs/en/guides/cms/drupal.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/docs/en/guides/cms/drupal.mdx b/src/content/docs/en/guides/cms/drupal.mdx index 3446b763b69ba..e296c33a2ba18 100644 --- a/src/content/docs/en/guides/cms/drupal.mdx +++ b/src/content/docs/en/guides/cms/drupal.mdx @@ -492,7 +492,7 @@ This example uses Astro's default static mode, and creates [a dynamic routing pa In our example, the `props` object passes three properties to the page: - `title`: a string, representing the title of your post. - `body`: a string, representing the content of your entry. - - `created`: a timestamp, based on your file creation date. + - `date`: a timestamp, based on your file creation date. 3. Use the page `props` to display your blog post. @@ -526,7 +526,7 @@ This example uses Astro's default static mode, and creates [a dynamic routing pa }); } - const {title, created, body} = Astro.props; + const {title, date, body} = Astro.props; ---