Added new setting to documentation

This commit is contained in:
Elio Struyf
2021-09-15 17:12:37 +02:00
parent 83c086879d
commit 2758c94434
2 changed files with 10 additions and 1 deletions
+9
View File
@@ -131,6 +131,15 @@ Specify the date format for your articles. Check [date-fns formating](https://da
- Type: `string`
- Default: `iso`
## frontMatter.taxonomy.commaSeparatedFields
Specify the fields names that Front Matter should treat as a comma-separated array.
- Type: `string[]`
- Default: `[]`
> **Info**: As some site generators expect arrays in `YAML` to be comma-separated like Pelican. You can use this setting to define which of the front matter properties should be treated as an comma-separated array.
### frontMatter.taxonomy.tags
Specifies the tags which can be used in the Front Matter.
+1 -1
View File
@@ -158,7 +158,7 @@
},
"frontMatter.taxonomy.commaSeparatedFields": {
"type": "array",
"markdownDescription": "Specify the fields that are comma seperated arrays in your front matter. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.taxonomy.commaSeparatedFields)"
"markdownDescription": "Specify the fields names that Front Matter should treat as a comma-separated array. [Check in the docs](https://frontmatter.codes/docs/settings#frontMatter.taxonomy.commaSeparatedFields)"
},
"frontMatter.taxonomy.dateFormat": {
"type": "string",