Skip to content

Commit

Permalink
docs: improve wording in seo docs (#25692)
Browse files Browse the repository at this point in the history
  • Loading branch information
shuvo-me committed Feb 9, 2024
1 parent eb1593c commit 2dea0d3
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/1.getting-started/5.seo-meta.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Shortcuts are available to make configuration easier: `charset` and `viewport`.

## `useHead`

The [`useHead`](/docs/api/composables/use-head) composable function allows you to manage your head tags in a programmatic and reactive way,
The [`useHead`](/docs/api/composables/use-head) composable function allows you to manage your head tags programmatically and reactively,
powered by [Unhead](https://unhead.unjs.io).

As with all composables, it can only be used with a components `setup` and lifecycle hooks.
Expand Down Expand Up @@ -76,9 +76,9 @@ useSeoMeta({

Nuxt provides `<Title>`, `<Base>`, `<NoScript>`, `<Style>`, `<Meta>`, `<Link>`, `<Body>`, `<Html>` and `<Head>` components so that you can interact directly with your metadata within your component's template.

Because these component names match native HTML elements, it is very important that they are capitalized in the template.
Because these component names match native HTML elements, they must be capitalized in the template.

`<Head>` and `<Body>` can accept nested meta tags (for aesthetic reasons) but this has no effect on _where_ the nested meta tags are rendered in the final HTML.
`<Head>` and `<Body>` can accept nested meta tags (for aesthetic reasons) but this does not affect _where_ the nested meta tags are rendered in the final HTML.

<!-- @case-police-ignore html -->

Expand Down Expand Up @@ -126,7 +126,7 @@ See [@unhead/schema](https://github.com/unjs/unhead/blob/main/packages/schema/sr

### Reactivity

Reactivity is supported on all properties, as computed, getters and reactive.
Reactivity is supported on all properties, by providing a computed value, a getter, or a reactive object.

It's recommended to use getters (`() => value`) over computed (`computed(() => value)`).

Expand Down Expand Up @@ -170,7 +170,7 @@ It's recommended to use getters (`() => value`) over computed (`computed(() => v

### Title Template

You can use the `titleTemplate` option to provide a dynamic template for customizing the title of your site. for example, by adding the name of your site to the title of every page.
You can use the `titleTemplate` option to provide a dynamic template for customizing the title of your site. For example, you could add the name of your site to the title of every page.

The `titleTemplate` can either be a string, where `%s` is replaced with the title, or a function.

Expand Down

0 comments on commit 2dea0d3

Please sign in to comment.