fix: use html lang
This commit is contained in:
parent
9d55a16040
commit
304c9d6f36
@ -7,8 +7,9 @@
|
||||
This site is statically generated using
|
||||
<a href="https://v3.nuxtjs.org">Nuxt.js</a> 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
|
||||
<a href="https://github.com/potatoeggy/public">here</a>.
|
||||
know why I ever tried — and its
|
||||
<a href="https://github.com/potatoeggy/public">source is available here</a
|
||||
>.
|
||||
</p>
|
||||
<!-- i could make this a list but god i'm so tired with nuxt -->
|
||||
<div class="flex justify-around flex-wrap gap-8 items-center">
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user