From 189964c508c2a3886cb91b329601f3c5874e4832 Mon Sep 17 00:00:00 2001 From: eggy Date: Fri, 1 Mar 2024 16:04:25 -0500 Subject: [PATCH] chore: remove duplicate head --- composables/metadata.ts | 16 ---------------- nuxt.config.ts | 1 + 2 files changed, 1 insertion(+), 16 deletions(-) diff --git a/composables/metadata.ts b/composables/metadata.ts index e2d053c..70a99fe 100644 --- a/composables/metadata.ts +++ b/composables/metadata.ts @@ -8,22 +8,6 @@ export function useTitle(title: string, description?: string) { meta: [ { name: "viewport", content: " width=device-width,initial-scale=1" }, { name: "description", content: description ?? "" }, - { name: "theme-color", content: "#ffffff" }, - ], - link: [ - { rel: "icon", type: "image/x-icon", href: "/favicon.ico" }, - { - rel: "stylesheet", - href: "https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css", - }, - ], - script: [ - { - defer: true, - src: "/script.js", - hid: "stupidEmergencyScript", - type: "module", - }, ], }); } diff --git a/nuxt.config.ts b/nuxt.config.ts index 748457b..ce815f6 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -9,6 +9,7 @@ export default defineNuxtConfig({ }, meta: [ { name: "viewport", content: " width=device-width,initial-scale=1" }, + { name: "theme-color", content: "#ffffff" }, ], link: [ { rel: "icon", type: "image/x-icon", href: "/favicon.ico" },