Skip to content

Commit

Permalink
add head title & meta description to Nuxt configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonWingerAir committed Jan 1, 2024
1 parent b389513 commit a801828
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export default defineNuxtConfig({
'@nuxtjs/apollo',
'nuxt-simple-robots'
],
site: { indexable: process.env.SEO_ENV == 'production' ? true : false },
runtimeConfig: {
public: {
baseURL: process.env.NUXT_APP_BASE_URL ? process.env.NUXT_APP_BASE_URL : process.env.PORT ? 'http://127.0.0.1:' + process.env.PORT : ''
Expand All @@ -27,5 +26,14 @@ export default defineNuxtConfig({
httpEndpoint: 'https://api.github.com/graphql'
}
},
}
},
app: {
head: {
title: 'Brandon Winger-Air | Dev Blog & Portfolio',
meta: [
{ name: 'description', content: 'Website & Web Application development/design blog + portfolio with tools, guides, tutorial and course resources for developers' }
],
}
},
site: { indexable: process.env.SEO_ENV == 'production' ? true : false }
})

0 comments on commit a801828

Please sign in to comment.