How to define titles for different pages? #322
Unanswered
vicentematus
asked this question in
Q&A
Replies: 2 comments
-
Hi @harlan-zw , can you help me setup this? :( I'm trying diferent combinations on the |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @vicentematus , useSeoMeta( {
title: "Example Page Title",
description: "This is a sample description for the example page.",
ogTitle: "Example Open Graph Title",
ogDescription: "This is a sample Open Graph description.",
ogImageUrl: "https://example.com/images/sample-og-image.jpg",
ogImageAlt: "Sample Open Graph image description.",
twitterTitle: "Example Twitter Title",
twitterDescription: "This is a sample Twitter description.",
twitterImage: "https://example.com/images/sample-twitter-image.jpg",
twitterImageAlt: "Sample Twitter image description."
} ); // useSeoMeta() useSeoMeta doc : Or if you don't need reactivity : |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have trouble setting up the
og:title
of different pages. Let's say I want to set up different metatitles
anddescription
for each subpage (/about-us
,/term-and-conditions
).Took a look at the documentation on the site, but I'm confused. Where in the configuration should i set up this? Or should I use the Nuxt hook
useHead
?This is my
nuxt.config.ts
I can't seem to grasp where should be the setup for each
title
anddescription
for each subpage should be. Thank you.Beta Was this translation helpful? Give feedback.
All reactions