1
0
mirror of https://github.com/kremalicious/astro-redirect-from.git synced 2024-11-22 09:57:03 +01:00

more file path details

This commit is contained in:
Matthias Kretschmann 2023-09-23 21:19:11 +01:00
parent 5e7b54d781
commit 115beb5eea
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -108,7 +108,7 @@ Specify a different directory for your Markdown files, relative to the project r
_Default: `getSlugFromFilePath()`, see below_
If you need a custom slug structure, pass a function to construct your slug from the file path.
If you need a custom slug structure, pass a function to construct your slug from the file path. The file path should be relative to the content directory.
If you use a `slug` field in your frontmatter, this will be preferred by the plugin and passing any `getSlug` function will have no effect in that case.