From f2c2709fe777b8c6242bea20d3d9e2b540fa0e12 Mon Sep 17 00:00:00 2001 From: vhaudiquet Date: Mon, 2 Dec 2024 19:10:07 +0100 Subject: [PATCH] Added SEO config --- frontend/nuxt.config.ts | 7 +++++++ frontend/pages/champion/[alias].vue | 2 +- frontend/pages/index.vue | 2 +- frontend/pages/tierlist/[lane].vue | 2 +- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/frontend/nuxt.config.ts b/frontend/nuxt.config.ts index d38db17..8bdd9d9 100644 --- a/frontend/nuxt.config.ts +++ b/frontend/nuxt.config.ts @@ -9,6 +9,13 @@ export default defineNuxtConfig({ '/champion/**' : {swr: true} }, + site: { + url: 'https://buildpath.win', + name: 'BuildPath', + description: 'BuildPath: a tool for League of Legends champions runes and build paths.', + defaultLocale: 'en', // not needed if you have @nuxtjs/i18n installed + }, + app: { head: { htmlAttrs: { diff --git a/frontend/pages/champion/[alias].vue b/frontend/pages/champion/[alias].vue index e7be2b1..3b17557 100644 --- a/frontend/pages/champion/[alias].vue +++ b/frontend/pages/champion/[alias].vue @@ -17,7 +17,7 @@ function updateState(newState : string, newLane : number) {