add schema.org json
This commit is contained in:
+16
-1
@@ -57,17 +57,32 @@ export default defineNuxtConfig({
|
||||
charset: 'utf-8',
|
||||
viewport: 'width=device-width, initial-scale=1',
|
||||
link: [
|
||||
{ rel: 'icon', type: 'image/vnd.microsoft.icon', href: '/favicon.ico' },
|
||||
// { rel: 'icon', type: 'image/vnd.microsoft.icon', href: '/favicon.ico' },
|
||||
{ rel: 'icon', type: 'image/svg+xml', href: '/tempfavicon.svg' },
|
||||
// { rel: 'stylesheet', href: '/style.css' },
|
||||
// TYPEFACES
|
||||
{ rel: 'preconnect', href: 'https://fonts.thawiang.com/' },
|
||||
{ rel: 'stylesheet', href: 'https://fonts.thawiang.com/open-sans/open-sans-less.css' },
|
||||
{ rel: 'stylesheet', href: 'https://fonts.thawiang.com/sarabun/sarabun.css' }
|
||||
],
|
||||
script: [
|
||||
{
|
||||
type: 'application/ld+json',
|
||||
innerHTML: JSON.stringify({
|
||||
"@context": "https://schema.org",
|
||||
"@type": "WebSite",
|
||||
"name": process.env.NUXT_PUBLIC_SITE_NAME,
|
||||
"url": process.env.NUXT_PUBLIC_BASE_URL
|
||||
})
|
||||
}
|
||||
]
|
||||
},
|
||||
},
|
||||
colorMode: {
|
||||
preference: 'light'
|
||||
},
|
||||
routeRules: {
|
||||
"*": { experimentalNoScripts: true }, // one level deep, render all pages statically
|
||||
}
|
||||
// i18n: {
|
||||
// baseUrl: process.env.NUXT_PUBLIC_BASE_URL,
|
||||
|
||||
Reference in New Issue
Block a user