mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-06-28 05:52:07 +02:00
Ignore keywords field
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
|
||||
### 🎨 Enhancements
|
||||
|
||||
- Ignore the SEO `keywords` field for missing content type field
|
||||
- [#307](https://github.com/estruyf/vscode-front-matter/issues/307): New `list` field which allows to create a list of items
|
||||
- [#345](https://github.com/estruyf/vscode-front-matter/issues/345): Media dashboard UI improvements to visualize the content and public folders
|
||||
- [#349](https://github.com/estruyf/vscode-front-matter/issues/349): New `slug` field which allows you to manage the slug of your post from the Front Matter panel
|
||||
|
||||
@@ -12,7 +12,7 @@ export interface IContentTypeValidatorProps {
|
||||
metadata: IMetadata
|
||||
}
|
||||
|
||||
const fieldsToIgnore = [`filePath`, `articleDetails`, `slug`];
|
||||
const fieldsToIgnore = [`filePath`, `articleDetails`, `slug`, `keywords`];
|
||||
|
||||
export const ContentTypeValidator: React.FunctionComponent<IContentTypeValidatorProps> = ({ fields, metadata}: React.PropsWithChildren<IContentTypeValidatorProps>) => {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user