Skip to content

Commit

Permalink
Update seo tags (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: nurRiyad <[email protected]>
  • Loading branch information
nurRiyad authored Nov 11, 2024
1 parent 61b872f commit 58f655d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
10 changes: 4 additions & 6 deletions data/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,10 @@ export const aboutPage = {
}

export const seoData = {
description:
'Riyad, Software Engineer at AppsCode, with over 2.5+ years experience in software development.',
ogTitle:
'Riyad codes and helps others learn Javascript, Typescript, Vue, Nuxt, & Problem Solving',
twitterDescription:
'My blog website, where I play around with Nuxt, Vue, and more and showcase my blog, resources, etc',
title: `Riyad's Blog | Riyads Blog`,
ogTitle: `Let's learn Javascript, Typescript, Vue, Nuxt, & Problem Solving - Riyads Blog | Riyad's Blog`,
description: `Hi I am Riyad. A Software Engineer at AppsCode, with over 2.5+ years experience in software development. - Riyads Blog | Riyad's Blog`,
twitterDescription: `Riyad's Blog, where I play around with Nuxt, Vue, and more and showcase my blog, resources, etc - Riyads Blog | Riyad's Blog`,
image:
'https://res.cloudinary.com/dmecmyphj/image/upload/v1673548905/nuxt-blog/cover_ntgs6u.webp',
mySite: 'https://blog-nurriyad.vercel.app',
Expand Down
6 changes: 3 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { navbarData, seoData } from './data'
import { seoData } from './data'

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
Expand All @@ -24,8 +24,8 @@ export default defineNuxtConfig({
head: {
charset: 'utf-16',
viewport: 'width=device-width,initial-scale=1',
title: navbarData.homeTitle,
titleTemplate: `%s - ${navbarData.homeTitle}`,
title: seoData.title,
titleTemplate: `%s - ${seoData.title}`,
},
pageTransition: { name: 'page', mode: 'out-in' },
layoutTransition: { name: 'layout', mode: 'out-in' },
Expand Down

0 comments on commit 58f655d

Please sign in to comment.