Skip to content

Commit

Permalink
Merge pull request nuxt-modules#1935 from pierresaid/patch-1
Browse files Browse the repository at this point in the history
docs: typos
  • Loading branch information
ineshbose authored Mar 15, 2023
2 parents c59a9cf + 9c9d47c commit 8badc1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/2.guide/7.seo.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const title = computed(() => t('layouts.title', { title: t(route.meta.title ?? '
```vue {}[pages/index.vue]
<script setup>
definePageMeta({
title: 'pages.title.top' // set resoruce key
title: 'pages.title.top' // set resource key
})
const { locale, locales, t } = useI18n()
Expand Down Expand Up @@ -147,7 +147,7 @@ Check out the options you can pass to the `useLocaleHead` in the [API documentat

That's it!

If you also want to add your own metadata, you have to call `useHead`. When you call `useHead` with the addiotional metadata, `useHead` will merge it global metadata that has already defined.
If you also want to add your own metadata, you have to call `useHead`. When you call `useHead` with the additional metadata, `useHead` will merge it global metadata that has already defined.

```vue {}[pages/about/index.vue]
<script setup>
Expand Down

0 comments on commit 8badc1a

Please sign in to comment.