diff --git a/components/index/services.vue b/components/index/services.vue index fec6fb5..70805fc 100644 --- a/components/index/services.vue +++ b/components/index/services.vue @@ -7,8 +7,9 @@ This site is statically generated using Nuxt.js with the help of templates and Markdown — because really, writing HTML by hand is tedious and I don't - know why I ever tried — and its source is available - here. + know why I ever tried — and its + source is available here.

diff --git a/nuxt.config.ts b/nuxt.config.ts index b8cb3e2..9251c3a 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -2,6 +2,31 @@ import { defineNuxtConfig } from "nuxt/config"; import svgLoader from "vite-svg-loader"; // https://v3.nuxtjs.org/api/configuration/nuxt.config export default defineNuxtConfig({ + app: { + head: { + htmlAttrs: { + lang: "en", + }, + meta: [ + { name: "viewport", content: " width=device-width,initial-scale=1" }, + ], + 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", + }, + ], + }, + }, modules: [ "@nuxt/content", "@nuxtjs/tailwindcss", @@ -28,26 +53,6 @@ export default defineNuxtConfig({ vite: { plugins: [svgLoader()], }, - head: { - meta: [ - { name: "viewport", content: " width=device-width,initial-scale=1" }, - ], - 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", - }, - ], - }, content: { documentDriven: false, highlight: {