From b6f0e48a52c8f89f1e9dd97825a064a5ba62f761 Mon Sep 17 00:00:00 2001 From: Ben Holmes Date: Wed, 17 May 2023 20:01:42 -0400 Subject: [PATCH] edit: runnin runnin and runnin runnin and runnin runnin Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> --- src/content/docs/en/guides/content-collections.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/docs/en/guides/content-collections.mdx b/src/content/docs/en/guides/content-collections.mdx index 7879196aa9993..db7a0ec5b9599 100644 --- a/src/content/docs/en/guides/content-collections.mdx +++ b/src/content/docs/en/guides/content-collections.mdx @@ -740,5 +740,5 @@ const { remarkPluginFrontmatter } = await blogPost.render();

{blogPost.data.title} — {remarkPluginFrontmatter.readingTime}

``` -The remark and rehype pipelines only runs when your content is rendered, which explains why `remarkPluginFrontmatter` is only available after you call `render()` on your content entry. In contrast, `getCollection()` and `getEntry()` cannot return these values directly because they do not render your content. +The remark and rehype pipelines only run when your content is rendered, which explains why `remarkPluginFrontmatter` is only available after you call `render()` on your content entry. In contrast, `getCollection()` and `getEntry()` cannot return these values directly because they do not render your content.