0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-04-07 23:41:43 -05:00

docs: Content Layer API Example small fix (#11814)

* Update astro.ts

small fix to example

* Create odd-otters-look.md

---------

Co-authored-by: Reuben Tier <64310361+TheOtterlord@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
This commit is contained in:
Eduardo Cereto Carvalho 2024-08-27 03:17:30 -07:00 committed by GitHub
parent b81b70332d
commit 2bb72c6396
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 1 deletions

View file

@ -0,0 +1,5 @@
---
astro: patch
---
Updates the documentation for experimental Content Layer API with a corrected code example

View file

@ -2311,7 +2311,7 @@ export interface AstroUserConfig {
*
* const post = await getEntry('blog', Astro.params.slug);
*
* const { Content, headings } = await render(entry);
* const { Content, headings } = await render(post);
* ---
*
* <Content />