2 Commits

Author SHA1 Message Date
techit 6caedc84dd fix experimentalNoScripts for treee
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
2025-11-09 17:57:19 +07:00
techit 3f28105ce2 Fix canonical link mapping
Deploy to GitHub Pages / build (push) Has been cancelled
Deploy to GitHub Pages / deploy (push) Has been cancelled
2025-11-09 17:54:34 +07:00
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ if (tree.value) {
link: [
{
rel: "canonical",
href: config.public.baseUrl + '/' + route.params.slug
href: config.public.baseUrl + '/tree/' + route.params.slug
},
{
rel: 'icon',
+2 -1
View File
@@ -103,6 +103,7 @@ export default defineNuxtConfig({
"*": { experimentalNoScripts: true }, // one level deep, render all pages statically
"posts/*": { experimentalNoScripts: true }, // one level deep, render all post pages statically
"fonts": { experimentalNoScripts: false }, // except /fonts
"tree/*": { experimentalNoScripts: false }, // except /tree
"tree": { experimentalNoScripts: false }, // except /tree
"tree/*": { experimentalNoScripts: false }, // except /tree/*
}
})