misc: replace all "Metadatas" with "Metadata" (#5871)

Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
Swalah Amani 2021-11-10 00:16:10 +05:30 committed by GitHub
parent eab8c7c010
commit c541e2d83c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 107 additions and 106 deletions

View file

@ -93,9 +93,9 @@ module.exports = {
};
```
### Metadatas {#metadatas}
### Metadata {#metadata}
You can configure additional html metadatas (and override existing ones).
You can configure additional html metadata (and override existing ones).
Accepted fields:
@ -103,7 +103,7 @@ Accepted fields:
| Name | Type | Default | Description |
| --- | --- | --- | --- |
| `metadatas` | `Metadata[]` | `[]` | Any field will be directly passed to the `<meta />` tag. Possible fields include `id`, `name`, `property`, `content`, `itemprop`, etc. |
| `metadata` | `Metadata[]` | `[]` | Any field will be directly passed to the `<meta />` tag. Possible fields include `id`, `name`, `property`, `content`, `itemprop`, etc. |
</small>
@ -113,7 +113,7 @@ Example configuration:
module.exports = {
themeConfig: {
// highlight-next-line
metadatas: [{name: 'twitter:card', content: 'summary'}],
metadata: [{name: 'twitter:card', content: 'summary'}],
},
};
```