docs/fix: add language to code block (#761)

This commit is contained in:
Caleb Jasik 2021-07-19 20:18:07 -05:00 committed by GitHub
parent cd8b438c08
commit 11100d62ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -130,7 +130,7 @@ This blog post will be **rendered** inside of the `<PostLayout />` layout.
Markdown pages always pass a `content` prop to their layout, which is useful to grab information about the page, title, metadata, table of contents headers, and more.
```
```astro
---
// src/layouts/PostLayout.astro
const { content } = Astro.props;