From a801828c79fab9aa62f2168d6c121ae7a60d5289 Mon Sep 17 00:00:00 2001 From: Brandon Winger-Air Date: Sun, 31 Dec 2023 19:49:36 -0500 Subject: [PATCH] add head title & meta description to Nuxt configuration --- nuxt.config.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index afbd60c..9ce29ee 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -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 : '' @@ -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 } }) \ No newline at end of file