Skip to content

Commit

Permalink
Update drupal.mdx
Browse files Browse the repository at this point in the history
changing incorrect "created" prop to correct "date" prop name in Drupal integration instruction.
  • Loading branch information
supersolar authored Jan 22, 2025
1 parent 4c9cbbf commit fa653cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/en/guides/cms/drupal.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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;
---
<html lang="en">
<head>
Expand Down

0 comments on commit fa653cf

Please sign in to comment.