docs: rename `Head` to actual `HeadConfig` type in frontmatter config (#1013)

pull/1020/head
Jeff Sagal 2 years ago committed by GitHub
parent cdf546d725
commit 63e201492c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -54,7 +54,7 @@ description: VitePress
### head ### head
- Type: `Head[]` - Type: `HeadConfig[]`
Specify extra head tags to be injected: Specify extra head tags to be injected:
@ -71,7 +71,7 @@ head:
``` ```
```ts ```ts
type Head = type HeadConfig =
| [string, Record<string, string>] | [string, Record<string, string>]
| [string, Record<string, string>, string] | [string, Record<string, string>, string]
``` ```

Loading…
Cancel
Save