mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-09 09:05:56 +01:00
Fix SEO
This commit is contained in:
52
app/app.vue
52
app/app.vue
@@ -1,19 +1,53 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<Html
|
||||||
<NuxtLoadingIndicator color="#808080" />
|
:dir="head.htmlAttrs.dir"
|
||||||
<AppBackground />
|
:lang="head.htmlAttrs.lang"
|
||||||
<UContainer class="z-50 relative">
|
>
|
||||||
<AppHeader />
|
<Head>
|
||||||
<NuxtPage class="mt-12" />
|
<template
|
||||||
<AppFooter />
|
v-for="link in head.link"
|
||||||
</UContainer>
|
:key="link.id"
|
||||||
</div>
|
>
|
||||||
|
<Link
|
||||||
|
:id="link.id"
|
||||||
|
:href="link.href"
|
||||||
|
:hreflang="link.hreflang"
|
||||||
|
:rel="link.rel"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
<template
|
||||||
|
v-for="meta in head.meta"
|
||||||
|
:key="meta.id"
|
||||||
|
>
|
||||||
|
<Meta
|
||||||
|
:id="meta.id"
|
||||||
|
:content="meta.content"
|
||||||
|
:property="meta.property"
|
||||||
|
/>
|
||||||
|
</template>
|
||||||
|
</Head>
|
||||||
|
<Body>
|
||||||
|
<NuxtLoadingIndicator color="#808080" />
|
||||||
|
<AppBackground />
|
||||||
|
<UContainer class="z-50 relative">
|
||||||
|
<AppHeader />
|
||||||
|
<NuxtPage class="mt-12" />
|
||||||
|
<AppFooter />
|
||||||
|
</UContainer>
|
||||||
|
</Body>
|
||||||
|
</Html>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
useHead({
|
useHead({
|
||||||
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }]
|
link: [{ rel: 'icon', type: 'image/png', href: '/favicon.png' }]
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const head = useLocaleHead({
|
||||||
|
addDirAttribute: true,
|
||||||
|
identifierAttribute: 'id',
|
||||||
|
addSeoAttributes: true
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
@@ -6,10 +6,4 @@
|
|||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
const { locale } = useI18n()
|
const { locale } = useI18n()
|
||||||
|
|
||||||
useSeoMeta({
|
|
||||||
title: 'Arthur Danjou • Mathematics Lover and IA Enthusiast',
|
|
||||||
titleTemplate: '%s',
|
|
||||||
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.'
|
|
||||||
})
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Arthur Danjou • Mathematics Lover and IA Enthusiast
|
title: Arthur Danjou • Mathematics Lover and IA Enthusiast
|
||||||
|
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.
|
||||||
---
|
---
|
||||||
|
|
||||||
Hey, I'm Arthur Danjou, a mathematics student at the Paris-Saclay Faculty of Science in France.
|
Hey, I'm Arthur Danjou, a mathematics student at the Paris-Saclay Faculty of Science in France.
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
title: Arthur Danjou • Mathematics Lover and IA Enthusiast
|
title: Arthur Danjou • Mathematics Lover and IA Enthusiast
|
||||||
|
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.
|
||||||
---
|
---
|
||||||
|
|
||||||
Salut, je suis Arthur Danjou, étudiant en mathématiques à la faculté des sciences de Paris-Saclay en France.
|
Salut, je suis Arthur Danjou, étudiant en mathématiques à la faculté des sciences de Paris-Saclay en France.
|
||||||
|
|||||||
Reference in New Issue
Block a user