mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-18 17:06:56 +00:00
Added SEO metadata
This commit is contained in:
@@ -30,6 +30,16 @@ useHead({
|
||||
title: pageTitle,
|
||||
});
|
||||
|
||||
useSeoMeta({
|
||||
title: "Hey, I'm Jaron",
|
||||
ogTitle: "Hey, I'm Jaron",
|
||||
description:
|
||||
'Software Engineer. I build things to solve problems from the ground up.',
|
||||
ogDescription:
|
||||
'Software Engineer. I build things to solve problems from the ground up.',
|
||||
ogUrl: useRequestURL().href,
|
||||
});
|
||||
|
||||
definePageMeta({
|
||||
layout: false,
|
||||
});
|
||||
|
||||
@@ -12,7 +12,10 @@ if (!page.value) {
|
||||
|
||||
useSeoMeta({
|
||||
title: page.value?.title,
|
||||
ogTitle: page.value?.title,
|
||||
description: page.value?.description,
|
||||
ogDescription: page.value?.description,
|
||||
ogUrl: useRequestURL().href,
|
||||
});
|
||||
|
||||
definePageMeta({
|
||||
@@ -39,7 +42,11 @@ definePageMeta({
|
||||
</NuxtLink>
|
||||
</div>
|
||||
</template>
|
||||
<ContentRenderer class="writing__content" v-if="page" :value="page" />
|
||||
<ContentRenderer
|
||||
class="writing__content"
|
||||
v-if="page"
|
||||
:value="page"
|
||||
/>
|
||||
</NuxtLayout>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user