Fix new seo tags

This commit is contained in:
2025-02-06 18:19:57 +01:00
parent f634090a7b
commit 9bed873cec

View File

@@ -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>