From 2dea0d3c8009820bd0ee5c421b0384ca39ce52de Mon Sep 17 00:00:00 2001 From: Naim Ahmed Shuvo <61267686+shuvo-me@users.noreply.github.com> Date: Sat, 10 Feb 2024 05:00:58 +0600 Subject: [PATCH] docs: improve wording in seo docs (#25692) --- docs/1.getting-started/5.seo-meta.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/1.getting-started/5.seo-meta.md b/docs/1.getting-started/5.seo-meta.md index 84a26c1eab..ebc0ac99d2 100644 --- a/docs/1.getting-started/5.seo-meta.md +++ b/docs/1.getting-started/5.seo-meta.md @@ -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. @@ -76,9 +76,9 @@ useSeoMeta({ Nuxt provides ``, `<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 --> @@ -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)`). @@ -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.