Skip to content

Commit

Permalink
docs: update link to useHead (#1895)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemcode committed Feb 7, 2023
1 parent 1441e85 commit 907ea84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/4.api/2.composables/6.use-content-head.md
Expand Up @@ -12,7 +12,7 @@ These parameters can be used from the [Front-Matter](/guide/writing/markdown#fro

| Key | Type | Default | Description |
| ------------------ | ------------------ | -------------------- | ----------------------------------------------------------------------------------- |
| `head` | `Object` | | A [useHead](https://v3.nuxtjs.org/guide/features/head-management) compatible object |
| `head` | `Object` | | A [useHead](https://nuxt.com/docs/getting-started/seo-meta#composable-usehead) compatible object |
| `title` | `String` | | Will be used as the default value for `head.title` |
| `head.title` | `String` | Parsed `title` | Sets the `<title>` tag |
| `description` | `String` | | Will be used as the default value for `head.description` |
Expand All @@ -23,7 +23,7 @@ These parameters can be used from the [Front-Matter](/guide/writing/markdown#fro
| `image.xxx` | `String` | | Any [`og:image:xxx` compatible](https://ogp.me/#structured) attribute |
| `head.image` | `String \| Object` | | Overrides the `<meta property="og:image">` |

At the exception of `title`, `description` and `image`, the `head` object behaves exactly the same in [Front-Matter](/guide/writing/markdown#front-matter) as it would in [`useHead({ ... })`](https://v3.nuxtjs.org/guide/features/head-management) composable.
At the exception of `title`, `description` and `image`, the `head` object behaves exactly the same in [Front-Matter](/guide/writing/markdown#front-matter) as it would in [`useHead({ ... })`](https://nuxt.com/docs/getting-started/seo-meta#composable-usehead) composable.

You can specify any value that is writeable in `yaml` format.

Expand Down

0 comments on commit 907ea84

Please sign in to comment.