Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update 5.seo-meta.md #26279

Merged
merged 3 commits into from
Mar 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/1.getting-started/5.seo-meta.md
Original file line number Diff line number Diff line change
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, by providing a computed value, a getter, or a reactive object.
Reactivity is supported on all properties, by providing a computed value, a getter or a reactive object.
danielroe marked this conversation as resolved.
Show resolved Hide resolved

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

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

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.
The `titleTemplate` can either be a string, where `%s` is replaced with the title or a function.
danielroe marked this conversation as resolved.
Show resolved Hide resolved

If you want to use a function (for full control), then this cannot be set in your `nuxt.config`, and it is recommended instead to set it within your `app.vue` file, where it will apply to all pages on your site:
If you want to use a function (for full control), then this cannot be set in your `nuxt.config`. It is recommended instead to set it within your `app.vue` file where it will apply to all pages on your site:

::code-group

Expand Down