mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-30 11:28:40 +01:00
fix: réorganiser la configuration du site et des collections dans nuxt.config.ts et content.config.ts
This commit is contained in:
@@ -19,11 +19,29 @@ export default defineNuxtConfig({
|
||||
pageTransition: { name: 'page', mode: 'out-in' },
|
||||
rootAttrs: {
|
||||
class: 'bg-[var(--ui-bg)]'
|
||||
},
|
||||
head: {
|
||||
templateParams: {
|
||||
separator: '•'
|
||||
},
|
||||
titleTemplate: '%s %separator %siteName',
|
||||
link: [
|
||||
{ rel: 'icon', type: 'image/webp', href: '/favicon.webp' },
|
||||
{ rel: 'apple-touch-icon', href: '/favicon.webp' }
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
css: ['~/assets/css/main.css'],
|
||||
|
||||
site: {
|
||||
url: 'https://arthurdanjou.fr',
|
||||
name: 'Arthur Danjou',
|
||||
description: 'Research Engineer & Applied Mathematics Student. Focusing on AI Safety, Robustness, and Statistical Learning.',
|
||||
defaultLocale: 'en',
|
||||
indexable: true
|
||||
},
|
||||
|
||||
colorMode: {
|
||||
preference: 'system',
|
||||
fallback: 'light'
|
||||
@@ -120,6 +138,10 @@ export default defineNuxtConfig({
|
||||
}
|
||||
},
|
||||
|
||||
seo: {
|
||||
redirectToCanonicalSiteUrl: true
|
||||
},
|
||||
|
||||
studio: {
|
||||
route: '/studio',
|
||||
repository: {
|
||||
|
||||
Reference in New Issue
Block a user