🗑️ Cleanup & Reborn

This commit is contained in:
2025-03-17 01:24:03 +08:00
parent b9d89149b0
commit 975766302a
6 changed files with 108 additions and 124 deletions

View File

@@ -19,9 +19,7 @@ export default defineNuxtConfig({
},
posts: {
includeAppSources: false,
sources: [
"/api/sitemap/posts",
],
sources: ["/api/sitemap/posts"],
},
},
},
@@ -37,7 +35,6 @@ export default defineNuxtConfig({
locales: [
{ code: "en", name: "English", file: "en-US.json" },
{ code: "zh-CN", name: "简体中文", file: "zh-CN.json" },
{ code: "tb-SG", name: "音调羊文", file: "tb-SG.json" },
],
lazy: true,
langDir: "lang",
@@ -67,9 +64,7 @@ export default defineNuxtConfig({
title: "Solsynth LLC",
titleTemplate: "%s | Solsynth",
meta: [],
link: [
{ rel: "icon", type: "image/png", href: "/icon.png" },
],
link: [{ rel: "icon", type: "image/png", href: "/icon.png" }],
},
},
@@ -79,11 +74,62 @@ export default defineNuxtConfig({
},
highlight: {
theme: { default: "github-light", dark: "github-dark" },
langs: ["json", "yaml", "toml", "java", "javascript", "astro", "css", "scss", "dart", "go", "typescript", "c", "csharp",
"cpp", "bat", "bash", "sh", "dockerfile", "erlang", "fsharp", "markdown", "log",
"lua", "objc", "swift", "regex", "ruby", "rust", "postcss", "blade", "asciidoc", "cmake", "cobol", "pascal",
"nginx", "angular-html", "angular-ts", "gdscript", "gdshader", "gdresource", "groovy", "gql", "python",
"crystal", "sql", "plsql", "kotlin", "html", "vue", "gleam", "julia", "lisp", "xml", "csv"],
langs: [
"json",
"yaml",
"toml",
"java",
"javascript",
"astro",
"css",
"scss",
"dart",
"go",
"typescript",
"c",
"csharp",
"cpp",
"bat",
"bash",
"sh",
"dockerfile",
"erlang",
"fsharp",
"markdown",
"log",
"lua",
"objc",
"swift",
"regex",
"ruby",
"rust",
"postcss",
"blade",
"asciidoc",
"cmake",
"cobol",
"pascal",
"nginx",
"angular-html",
"angular-ts",
"gdscript",
"gdshader",
"gdresource",
"groovy",
"gql",
"python",
"crystal",
"sql",
"plsql",
"kotlin",
"html",
"vue",
"gleam",
"julia",
"lisp",
"xml",
"csv",
],
},
locales: ["en", "zh-CN"],
defaultLocale: "en",