mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-02-06 08:43:49 +01:00
Fix new seo tags
This commit is contained in:
55
app/app.vue
55
app/app.vue
@@ -2,54 +2,19 @@
|
|||||||
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>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Html
|
<UApp>
|
||||||
:dir="head.htmlAttrs.dir"
|
<NuxtLoadingIndicator color="#808080" />
|
||||||
:lang="head.htmlAttrs.lang"
|
<AppBackground />
|
||||||
>
|
<UContainer class="z-50 relative">
|
||||||
<Head>
|
<AppHeader />
|
||||||
<template
|
<NuxtPage class="mt-12" />
|
||||||
v-for="link in head.link"
|
{{ useVisitors() }}
|
||||||
:key="link.id"
|
<AppFooter />
|
||||||
>
|
</UContainer>
|
||||||
<Link
|
</UApp>
|
||||||
: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>
|
|
||||||
<UApp>
|
|
||||||
<NuxtLoadingIndicator color="#808080" />
|
|
||||||
<AppBackground />
|
|
||||||
<UContainer class="z-50 relative">
|
|
||||||
<AppHeader />
|
|
||||||
<NuxtPage class="mt-12" />
|
|
||||||
<AppFooter />
|
|
||||||
</UContainer>
|
|
||||||
</UApp>
|
|
||||||
</Body>
|
|
||||||
</Html>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|||||||
Reference in New Issue
Block a user