add schema.org json
This commit is contained in:
+16
-1
@@ -57,17 +57,32 @@ export default defineNuxtConfig({
|
|||||||
charset: 'utf-8',
|
charset: 'utf-8',
|
||||||
viewport: 'width=device-width, initial-scale=1',
|
viewport: 'width=device-width, initial-scale=1',
|
||||||
link: [
|
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' },
|
// { rel: 'stylesheet', href: '/style.css' },
|
||||||
// TYPEFACES
|
// TYPEFACES
|
||||||
{ rel: 'preconnect', href: 'https://fonts.thawiang.com/' },
|
{ 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/open-sans/open-sans-less.css' },
|
||||||
{ rel: 'stylesheet', href: 'https://fonts.thawiang.com/sarabun/sarabun.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: {
|
colorMode: {
|
||||||
preference: 'light'
|
preference: 'light'
|
||||||
|
},
|
||||||
|
routeRules: {
|
||||||
|
"*": { experimentalNoScripts: true }, // one level deep, render all pages statically
|
||||||
}
|
}
|
||||||
// i18n: {
|
// i18n: {
|
||||||
// baseUrl: process.env.NUXT_PUBLIC_BASE_URL,
|
// baseUrl: process.env.NUXT_PUBLIC_BASE_URL,
|
||||||
|
|||||||
Reference in New Issue
Block a user