From da65d2381eaa15ee459fcde8210df5dee250ec04 Mon Sep 17 00:00:00 2001 From: Ludoviko Date: Sun, 22 May 2022 18:09:17 +0100 Subject: [PATCH] Added Head tags Ready for pull and build --- nuxt.config.ts | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/nuxt.config.ts b/nuxt.config.ts index 6cc84c3..6409b66 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,5 +2,38 @@ import { defineNuxtConfig } from 'nuxt'; // https://v3.nuxtjs.org/api/configuration/nuxt.config export default defineNuxtConfig({ - css: ['@/assets/styles/globals.scss'] + app: { + head: { + link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }], + title: 'Vänner Bästa | Friends Best', + meta: [ + { + property: 'og:image', + content: 'https://www.vannerba.st/yr.jpg', + }, + { name: 'twitter:card', content: 'summary' }, + { name: 'twitter:site', content: '@Ludoviko_' }, + { + name: 'twitter:creator', + content: '@Ludoviko_', + }, + { + property: 'og:title', + content: 'Vänner Bästa | Friends Best', + }, + { + property: 'og:description', + content: + 'A Young Royals fan website with links to different discussion spaces.', + }, + { name: 'og:type', content: 'website' }, + { + name: 'description', + content: + 'A Young Royals fan website with links to different discussion spaces.', + }, + ], + }, + }, + css: ['@/assets/styles/globals.scss'], });