Fix titles

This commit is contained in:
2024-06-21 16:06:19 +02:00
parent fc7b98afdd
commit 1ecc28f0c4
2 changed files with 5 additions and 1 deletions

View File

@@ -7,7 +7,7 @@
<script lang="ts" setup>
const 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.'
useSeoMeta({
title: 'Arthur Danjou - Mathematics Lover and IA Enthusiast',
title: 'Arthur Danjou | Mathematics Lover and IA Enthusiast',
description
})
</script>

View File

@@ -14,6 +14,10 @@ const { copy, copied } = useClipboard({
source: `https://arthurdanjou.fr/writing/${route.params.slug}`,
copiedDuring: 4000
})
useHead({
title: `${post.value!.title ?? 'Untitled'} | Arthur Danjou`
})
</script>
<template>