diff --git a/docs/docs/pages/config.mdx b/docs/docs/pages/config.mdx index bef4adb..db246dc 100644 --- a/docs/docs/pages/config.mdx +++ b/docs/docs/pages/config.mdx @@ -78,7 +78,7 @@ Override default field names in `sequoia.json`: } ``` -### Slug Field Configuration +### Slug Configuration By default, slugs are generated from the filepath (e.g., `posts/my-post.md` becomes `posts/my-post`). To use a frontmatter field instead: @@ -94,7 +94,7 @@ If the frontmatter field is not found, it falls back to the filepath. ### Slugs For Index Files -By default, files nested in a post-specific directory will include the full path in their slug. Usually this is preferred, however, for files such as `index.md` or `_index.md` the expected slug likely ends with the parent directory and not `posts/my-latest-post/index`. To remove the `/index` or `/_index` suffix from slugs, set `removeIndexFromSlug` to `true`: +By default, files nested in a post-specific directory will include the full path in their slug. Usually this is preferred; however, for files such as `index.md` or `_index.md` the expected slug likely ends with the parent directory and not `posts/my-latest-post/index`. To remove the `/index` or `/_index` suffix from slugs, set `removeIndexFromSlug` to `true`: ```json {