Merge pull request #5 from ArthurDanjou/a62a8a1

Revert breaking changes
This commit is contained in:
2024-07-01 13:07:44 +02:00
committed by GitHub
2 changed files with 5 additions and 23 deletions

View File

@@ -22,7 +22,8 @@ const { copy, copied } = useClipboard({
useSeoMeta({ useSeoMeta({
title: post.value?.title, title: post.value?.title,
description: post.value?.description, description: post.value?.description,
author: 'Arthur Danjou' author: 'Arthur Danjou',
image: post.value?.cover
}) })
function getDetails() { function getDetails() {

View File

@@ -1,6 +1,7 @@
export default defineNuxtConfig({ export default defineNuxtConfig({
future: { compatibilityVersion: 4 }, future: { compatibilityVersion: 4 },
// Nuxt App
app: { app: {
pageTransition: { name: 'page', mode: 'out-in' }, pageTransition: { name: 'page', mode: 'out-in' },
head: { head: {
@@ -20,9 +21,7 @@ export default defineNuxtConfig({
'@vueuse/nuxt', '@vueuse/nuxt',
'@nuxtjs/google-fonts', '@nuxtjs/google-fonts',
'@nuxthq/studio', '@nuxthq/studio',
'@nuxt/image', '@nuxt/image'
'@nuxtjs/seo'
],
// Nuxt Hub // Nuxt Hub
hub: { hub: {
@@ -32,24 +31,6 @@ export default defineNuxtConfig({
analytics: true analytics: true
}, },
// Nuxt SEO
site: {
name: 'Arthur Danjou',
description: 'I\'m Arthur, a Mathematics lover and IA enthusiast. I\'m currently studying at the University of Paris-Saclay. I\'m passionate about Mathematics, Computer Science, and Artificial Intelligence.',
defaultLocale: 'en'
},
// Disable to reduce size
ogImage: {
enabled: false
},
seoExperiments: {
enabled: false
},
linkChecker: {
enabled: false
},
// Nuxt Content // Nuxt Content
content: { content: {
highlight: { highlight: {
@@ -57,7 +38,7 @@ export default defineNuxtConfig({
} }
}, },
// Nuxt ColorMode // Nuxt Color Mode
colorMode: { colorMode: {
preference: 'system', preference: 'system',
fallback: 'light' fallback: 'light'